Created
June 1, 2014 09:19
-
-
Save pfreixes/1b4c9f0cf1c2bd19edf9 to your computer and use it in GitHub Desktop.
Whisper data format ....
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Whisper data base format | |
------------------------ | |
Byte Map of whisper file format | |
+------------------+ | |
| Aggregation func | 4 bytes - Type of allocate strategies for file | |
+------------------+ * Use of fallocate if it is available, book the disk space | |
| Max time | * Use of sparse, fragmented, if it is configured. | |
| retention | 4 bytes * Booking whole space writing zeros over there | |
+------------------+ | |
| file factor | 4 bytes | |
+------------------+ | |
| count archives | 4 bytes | |
+------------------+ | |
| Archive info 1 | 12 bytes | |
|+----------------+| | |
|| data offset ||--- | |
|+----------------+| | | |
|| sec. per point || | | |
|+----------------+| | | |
|| num. points || | | |
|+--------------- +| | | |
+------------------+ | | |
| Archive info 2 | | | |
|+----------------+| | | |
|| data offset ||------ | |
|+----------------+| | | | |
|| sec. per point || | | | |
|+----------------+| | | | |
|| num. points || | | | |
|+--------------- +| | | | |
+------------------+ | | | |
| point 1 |<--' | | |
+------------------+ | | |
| point 2 | | | |
+------------------+ | | |
| . | | | |
| . | | | |
| . | | | |
| . | | | |
+------------------+ | | |
| point 1 |<-----' | |
+------------------+ | |
| point 2 | | |
+------------------+ | |
| . | | |
| . | | |
| . | | |
| . | | |
+------------------+ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment