MCPcopy Create free account
hub / github.com/apache/mesos / _run

Method _run

3rdparty/libprocess/src/tests/benchmarks.cpp:178–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176 }
177
178 Future<Duration> _run()
179 {
180 duration = Owned<Promise<Duration>>(new Promise<Duration>());
181
182 watch.start();
183
184 while (requests < concurrency) {
185 send(server, "ping", message.c_str(), message.size());
186 ++requests;
187 }
188
189 return duration->future();
190 }
191
192 void pong(const UPID& from, const string& body)
193 {

Callers

nothing calls this directly

Calls 4

startMethod · 0.65
sendFunction · 0.50
sizeMethod · 0.45
futureMethod · 0.45

Tested by

no test coverage detected