MCPcopy Create free account
hub / github.com/ERGO-Code/HiGHS / loseTime

Function loseTime

check/TestHighsParallel.cpp:284–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282// This was fixed by catching and rethrowing in the TaskGroup destructor.
283
284static void loseTime() {
285 int total = 0;
286 for (int i = 0; i < 1000; ++i) {
287 total += i * i * i;
288 }
289}
290
291static void nestedTask() {
292 highs::parallel::TaskGroup tg;

Callers 2

nestedTaskFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected