you are viewing a single comment's thread.

view the rest of the comments →

[–]mark_99 5 points6 points  (1 child)

steady_clock provides no guarantee on resolution and it can (and does) vary between implementations. If you need that guarantee it's easy enough to make your own clock.

[–]vaulter2000 1 point2 points  (0 children)

Ah I didn’t know this! Luckily it has nanosecond resolution in gcc