NanoLog icon indicating copy to clipboard operation
NanoLog copied to clipboard

Nanosecond in formatted output could be negtive and log time is not well synced with system time

Open MengRao opened this issue 4 years ago • 0 comments

The initial logs just after program started always have a nanosecond part above or below 0 by a small value, and the calibrated cyclesPerSecond is not precise enough.

Actually there's a simple and precise way to convert a tsc to system nanosecond timestamp: tscns.

MengRao avatar May 07 '20 12:05 MengRao