mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Add cpu counter
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user