Modify profiler

This commit is contained in:
JCW
2025-05-21 17:39:19 +01:00
parent 0590c13de3
commit f62e9c0ba5

View File

@@ -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();