MCPcopy Create free account
hub / github.com/BirolLab/abyss / progressStart

Function progressStart

RResolver/RUtils.cpp:16–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14static bool progressRunning = false;
15
16void
17progressStart(const std::string& name, unsigned total)
18{
19 if (opt::verbose) {
20 progressName = name;
21 std::string tempName = name;
22 tempName[0] = std::tolower(tempName[0]);
23 std::cerr << '\n' << ++progressNumber << ". Starting " + tempName << "...\n";
24 std::cerr << "Progress: 0%" << std::flush;
25 progressTotal = total;
26 progressUpdates = 0;
27 progressLastPrinted = 0;
28 assert(!progressRunning);
29 progressRunning = true;
30 }
31}
32
33void
34progressUpdate()

Callers 2

resolveRepeatsFunction · 0.85
processGraphFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected