mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-04 17:27:00 +00:00
Modify profiler
This commit is contained in:
@@ -38,7 +38,7 @@ inline std::string getProfilingResults()
|
||||
ss << "Function profiling results:" << std::endl;
|
||||
for (const auto& [name, duration] : FunctionProfiler::funcionDurations)
|
||||
{
|
||||
ss << " " << name << ": " << duration.count() << " ns" << std::endl;
|
||||
ss << " " << name << ": " << duration.first.count() << " ns" << ", counts: " << duration.second << std::endl;
|
||||
}
|
||||
|
||||
return ss.str();
|
||||
|
||||
Reference in New Issue
Block a user