Title | Clock values in text telemetry logs on Windows have top 32 bits zero |
Status | closed |
Priority | essential |
Assigned user | Nick Barnes |
Organization | Ravenbrook |
Description | The text telemetry files produced by mpseventcnv on Windows have the top 32 bits of every event clock value printed as zero. |
Analysis | we fprintf with %016lX, so the fprintf is using the 'long' type which with Visual Studio is 32 bits. Use %016llX instead, so fprintf uses 'long long', which is the appropriate 64-bit type for the EventClock values. |
How found | manual_test |
Evidence | >head ../../../profile/nb/mpsio.cnv 00000000E0053453 74 1 1 5 85 13 40 3E8 00000000E00F851F 75 206A ... >od -A x -t x1 ../../../profile/nb/mpsio.log | head 000000 74 00 30 00 00 00 00 00 53 34 05 e0 f3 36 00 00 000010 01 00 00 00 01 00 00 00 05 00 00 00 85 00 00 00 000020 13 00 00 00 40 00 00 00 e8 03 00 00 00 00 00 00 000030 75 00 20 00 00 00 00 00 1f 85 0f e0 f3 36 00 00 000040 6a 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
Observed in | 1.111.0 |
Created by | Nick Barnes |
Created on | 2013-06-15 14:05:20 |
Last modified by | Nick Barnes |
Last modified on | 2013-06-15 14:05:32 |
History | 2013-06-15 NB Created. |
Change | Effect | Date | User | Description |
---|---|---|---|---|
182747 | closed | 2013-06-15 13:59:45 | Nick Barnes | Make event clock values print correctly on Windows. |