| 141 | INSTANTIATE_TEST_CASE_P(ThreadPoolTest, ThreadPoolTest, testing::Values(1, 2, 4, 8, 16, 32)); |
| 142 | |
| 143 | static void LatencyProc(void* p, int64_t issue_time) |
| 144 | { |
| 145 | int64_t handle_time = RealtimeClock.MicroSeconds(); |
| 146 | int64_t latency = handle_time - issue_time; |
| 147 | AtomicAdd(static_cast<int64_t*>(p), latency); |
| 148 | } |
| 149 | |
| 150 | static void LatencyTest(int loop_count, bool slow_add) |
| 151 | { |
nothing calls this directly
no test coverage detected