Fix flaky unit test for ThreadPoolExecutor CPU counter
Summary: Using a per-thread CPU clock when burning CPU time (instead of the system clock), so measurements should be accurate independently of the load on the system. Reviewed By: yfeldblum Differential Revision: D31436995 fbshipit-source-id: 3e732e2f4d2c04846dcafef32b00a87617c940b8
Showing
Please register or sign in to comment