Update Old LinkTest SIONlib File Formats authored by Max Holicki's avatar Max Holicki
...@@ -5,7 +5,7 @@ LinkTest SION files consist of three components: ...@@ -5,7 +5,7 @@ LinkTest SION files consist of three components:
2. Data Chunks Per Rank 2. Data Chunks Per Rank
3. A File Footer 3. A File Footer
The SION file starts with the File Header, which in turn starts with a SIONlib header. Then `n` Data Chunks follow, one for each rank enumerate from rank 0. Each is terminated by an "END_BLOCK" statement. After all Data chunks there is a file footer at the end. The SION file starts with the File Header, which in turn starts with a SIONlib header. Then `N` Data Chunks follow, one for each rank enumerate from rank 0. Each is terminated by an "END_BLOCK" statement. After all Data chunks there is a file footer at the end.
The structure is: The structure is:
``` ```
...@@ -25,9 +25,9 @@ In the following we will describe the binary structure of each of the different ...@@ -25,9 +25,9 @@ In the following we will describe the binary structure of each of the different
|-------------------------|----|----------|---------|----------|---------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------| |-------------------------|----|----------|---------|----------|---------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| SIONlib Header | | 0 | 0+a | a | | SIONlib file header | | SIONlib Header | | 0 | 0+a | a | | SIONlib file header |
| LinkTest ID String | | 0+a | 5+a | 5 | "LKTST" | LinkTest ASCII-character tag identifying the start of the LinkTest portion of the SION file. | | LinkTest ID String | | 0+a | 5+a | 5 | "LKTST" | LinkTest ASCII-character tag identifying the start of the LinkTest portion of the SION file. |
| LinkTest Major Version | | 5+a | 9+a | 4 | | 32-bit unsigned integer identifying the LinkTest major version number. | | LinkTest Major Version | | 5+a | 9+a | 4 | 2 | 32-bit unsigned integer identifying the LinkTest major version number. |
| LinkTest Minor Version | | 9+a | 13+a | 4 | | 32-bit unsigned integer identifying the LinkTest minor version number. | | LinkTest Minor Version | | 9+a | 13+a | 4 | 1 | 32-bit unsigned integer identifying the LinkTest minor version number. |
| LinkTest Patchlevel | | 13+a | 17+a | 4 | | 32-bit unsigned integer identifying the LinkTest patchlevel number. | | LinkTest Patch Level | | 13+a | 17+a | 4 | 16 | 32-bit unsigned integer identifying the LinkTest patch-level number. |
| LinkTest GitHash | | 17+a | 58+a | 41 | | 41-byte null-terminated ASCII-character git hash identifying the commit used to generated the data. | | LinkTest GitHash | | 17+a | 58+a | 41 | | 41-byte null-terminated ASCII-character git hash identifying the commit used to generated the data. |
| LinkTest Mode Length | b | 58+a | 62+a | 4 | | 32-bit unsigned integer specifying the length of the following string indicating the transport layer/mode/virtual-cluster implementation used for the LinkTest run. | | LinkTest Mode Length | b | 58+a | 62+a | 4 | | 32-bit unsigned integer specifying the length of the following string indicating the transport layer/mode/virtual-cluster implementation used for the LinkTest run. |
| LinkTest Mode | | 62+a | 62+a+b | b | | Null-terminated ASCII character array identifying the transport layer/mode/virtual-cluster implementation used for the LinkTest run. | | LinkTest Mode | | 62+a | 62+a+b | b | | Null-terminated ASCII character array identifying the transport layer/mode/virtual-cluster implementation used for the LinkTest run. |
... ...
......