<< Click to Display Table of Contents >> Navigation: File formats > Statistics file |
Part |
Item |
Data size (bytes) |
Description |
---|---|---|---|
File header |
Signature |
4 |
File signature (0x61756D32) |
Length |
2 |
Header size, including a device scription |
|
Description offset |
4 |
Offset to the USB device description in the header |
|
Version |
2 |
File format version |
|
Data type |
1 |
Data type in the file |
|
USB device description |
Separator |
1 |
ASCII character with code 0x09 |
Device name |
vary |
USB device name |
|
Separator |
1 |
ASCII character with code 0x09 |
|
Driver key |
vary |
USB device driver registry key |
|
Separator |
1 |
ASCII character with code 0x09 |
|
HardwareID |
vary |
USB device hardware ID |
|
Separator |
1 |
ASCII character with code 0x09 |
|
Statistics data item |
Function |
2 |
USB function |
Date |
4 |
Date time stamp. Equal TDateTime data type of Borland Delphi 7 |
|
Stamp |
8 |
System time is a count of 1 ms intervals since January 1, 1601. |
|
Transfer size |
4 |
Number of transferred bytes |
|
Decode status |
4 |
Decode status (0 - no errors) |
|
Read from device |
1 |
Data direction flag (0 - from computer to device, 1 - from device to computer) |
The file will contain "Statistics data item" part for each URB with transferred data. You can read the file and calculate statistics for incoming and outgoing data.