| 102 | ProfilingTimer::~ProfilingTimer() {} |
| 103 | |
| 104 | std::string ProfilingTimer::getDescription() const |
| 105 | { |
| 106 | std::string description = fmt::format("{} ::\tavg1: {},\tavg2: {},\tmin: {},\tmax: {},\ttotal: {:.2f}s,\tnr calls: {}", |
| 107 | _nameStr, _averageTime1, _averageTime2, minTime, maxTime, totalTime / 1000000., numberOfCalls); |
| 108 | return description; |
| 109 | } |
| 110 | |
| 111 | void ProfilingTimer::reset() |
| 112 | { |