Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Assert now > 0 in GetTime GetTimeMillis GetTimeMicros #7094
Anything concerning time deltas is a different issue. I certainly think a monotonic clock would be useful for some measurements (such as pings).
However this code change would just make sure that the absolute time is positive. More of a sanity check of the OS and boost (eg time() returns -1 on error).
IIUIC, it is only for "just to be sure".
E.g. on Linux kernel, you can't make