MCPcopy Create free account
hub / github.com/dds-bridge/dds / DetailLine

Method DetailLine

library/src/system/timer.cpp:139–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137
138
139string Timer::DetailLine() const
140{
141 stringstream ss;
142 ss << setw(15) << left << name <<
143 setw(10) << right << count <<
144 setw(11) << right << userCum <<
145 setw(11) << setprecision(2) << fixed <<
146 userCum / static_cast<double>(count) <<
147 setw(11) << setprecision(0) << fixed <<
148 1000000 * systCum / static_cast<double>(CLOCKS_PER_SEC) <<
149 setw(11) << setprecision(2) << fixed <<
150 1000000 * systCum /
151 static_cast<double>(count * CLOCKS_PER_SEC) << "\n";
152
153 return ss.str();
154}

Callers 1

DetailLinesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected