A low overhead nanosecond timestamp reader in C++ for X86

71 views
Skip to first unread message

饶萌

unread,
Jan 7, 2019, 12:25:49 AM1/7/19
to Scalable Synchronization Algorithms
Hi,

I've created a simple C++ nanosecond timestamp reader class which can replace the use of clock_gettime()/chrono::high_resolution_clock::now(), because it's much more efficient and stable in terms of latency: in around 10 ns for getting a ns timestamp.

The project is https://github.com/MengRao/tscns. Thanks for giving advices.

Regards,

Meng
Reply all
Reply to author
Forward
0 new messages