| 191 | } |
| 192 | |
| 193 | static void* RunTest(void* arg) { |
| 194 | PerformanceTest* test = (PerformanceTest*)arg; |
| 195 | test->_start_time = butil::cpuwide_time_us(); |
| 196 | test->_iterations = FLAGS_test_iterations; |
| 197 | |
| 198 | for (int i = 0; i < FLAGS_queue_depth; ++i) { |
| 199 | test->SendRequest(); |
| 200 | } |
| 201 | |
| 202 | return NULL; |
| 203 | } |
| 204 | |
| 205 | private: |
| 206 | void* _addr; |
nothing calls this directly
no test coverage detected