MCPcopy Create free account
hub / github.com/apache/brpc / RunTest

Method RunTest

example/rdma_performance/client.cpp:193–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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
205private:
206 void* _addr;

Callers

nothing calls this directly

Calls 2

cpuwide_time_usFunction · 0.85
SendRequestMethod · 0.80

Tested by

no test coverage detected