How to measure time in C++?
Introduction to std::chrono
by Rachel Crawford
From the article:
How many times have you tried to call a function that alleges to return a time value only to realise you don’t know what units the value is in? Or that takes a time value as a parameter, but doesn’t specify whether the value is expected to be in milliseconds, seconds, or hours?
Add a Comment
Comments are closed.