MCPcopy Create free account
hub / github.com/3rdparty/libprocess / _run

Method _run

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

futureMethod · 0.80
sendFunction · 0.50
startMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected