FB_LOG_EVERY_MS should use wall time instead of cpu time
Summary: FB_LOG_EVERY_MS was using clock() as its source of time, which measures the elapsed CPU time of the process. The name and the docs suggest that wall time was intended, so that's what this diff does. Test Plan: new unit test Reviewed By: andrei.alexandrescu@fb.com FB internal diff: D1157926
Showing
folly/test/LoggingTest.cpp
0 → 100644
Please register or sign in to comment