1
0
mirror of https://github.com/prirun/p50em.git synced 2026-03-07 02:59:30 +00:00
Files
prirun.p50em/devsmlc.h
Dennis Boone 6bf6e2ea48 Nanosecond log resolution for SMLC debug log
Using clock_gettime(), fetch the realtime clock, which has as much as
nanosecond resolution.  (In reality, it will likely ben more like
microseconds, though it returns the value in nanoseconds.) Use the
nanosecond value in SMLC log entries.  On modern systems and over
ethernet links, second resolution is probably fairly coarse for trying
to debug RJE problems.
2020-06-23 17:15:35 -04:00

43 KiB