TicableDataRate Structure

cabl_def.h

struct TicableDataRate

Fields

int count
number of bytes exchanged
@tiTIME@ start
time when transfer has begun
@tiTIME@ current
current time (free for use)


Summary

Structure used to get informations about transfers over a cable.

Description

This structure is used by libticables to get statistics about transfers on a link cable: how many bytes have been transferred during in how many time. The data rate cable be get with the following formula: (current - start) / count.


Return to the API index