MCPcopy Create free account
hub / github.com/axmolengine/axmol / getDescription

Method getDescription

core/base/Profiling.cpp:104–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102ProfilingTimer::~ProfilingTimer() {}
103
104std::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
111void ProfilingTimer::reset()
112{

Callers 1

displayTimersMethod · 0.45

Calls 1

formatFunction · 0.70

Tested by

no test coverage detected