A low overhead nanosecond timestamp reader in C++ for X86
121 views
Skip to first unread message
饶萌
unread,
Jan 7, 2019, 12:25:49 AM1/7/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.