• Nathan Bronson's avatar
    FB_LOG_EVERY_MS should use wall time instead of cpu time · 6d89f3d3
    Nathan Bronson authored
    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
    6d89f3d3
Logging.h 1.74 KB