File: TicableDataRate.txt

package info (click to toggle)
libticables3 3.9.6-10
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 3,656 kB
  • ctags: 2,184
  • sloc: ansic: 15,996; sh: 9,298; makefile: 526; yacc: 288; awk: 145; sed: 16
file content (20 lines) | stat: -rw-r--r-- 561 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[Main]
Name=TicableDataRate
Type=Structure
Header=cabl_def.h
Definition=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.