Add cpu counter

This commit is contained in:
JCW
2025-05-28 15:07:24 +01:00
parent 4483921eeb
commit 41d9d9528c

View File

@@ -90,11 +90,11 @@ getProfilingResults()
ss << name << "," << timeInTotal << ","
<< cpuCyclesInTotal << ","
<< duration.time.size()
<< timeInTotal / (double)duration.time.size()
<< compute_stddev(times)
<< cpuCyclesInTotal / (double)duration.cpuCycles.size()
<< compute_stddev(duration.cpuCycles)
<< duration.time.size() << ","
<< timeInTotal / (double)duration.time.size() << ","
<< compute_stddev(times) << ","
<< cpuCyclesInTotal / (double)duration.cpuCycles.size() << ","
<< compute_stddev(duration.cpuCycles) << ","
<< std::endl;
}