A new nanosecond clock for x86 Linux/Windows

This page summarizes the projects mentioned and recommended in the original post on /r/cpp

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • tscns

    A low overhead nanosecond clock based on x86 TSC

  • tscns is a low overhead nanosecond clock based on x86 TSC instruction. It provides a resolution with 1 nanosecond precision for both LInux and Windows, and the latency of getting timestamp is less than 10 ns. It's also closely synchronized with the system clock, which makes it a good alternative of standard system clocks.

  • fmtlog

    fmtlog is a performant fmtlib-style logging library with latency in nanoseconds.

  • I see you are also the author of fmtlog. I haven't used this logging library, but my experience with logging real-time concurrent stuff is that often what I need more than "nanosecond accuracy", is the order concurrent things are happening.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts