MCPcopy Create free account
hub / github.com/NatLabRockies/OpenStudio / tockCurrentTimer

Method tockCurrentTimer

src/workflow/Timer.cpp:76–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76void TimerCollection::tockCurrentTimer() {
77 m_timers[m_timerIndices.back()].tock();
78 m_timerIndices.pop_back();
79}
80
81// line_length is the maximum terminal width, fit = true will cause the table to be resized down as much as possible, fit = false means the table will take exactly line_length
82std::string TimerCollection::timeReport(int line_length, bool fit) const {

Callers 4

runMethod · 0.80
communicateResultsMethod · 0.80
applyMeasuresMethod · 0.80
detailedTimeBlockMethod · 0.80

Calls 2

tockMethod · 0.80
pop_backMethod · 0.80

Tested by

no test coverage detected