diff --git a/libs/prof/source/profiler.cpp b/libs/prof/source/profiler.cpp index 6d1785a3..6860148e 100644 --- a/libs/prof/source/profiler.cpp +++ b/libs/prof/source/profiler.cpp @@ -115,6 +115,7 @@ namespace psemek::prof << " 25% " << pretty(stat.percentile(0.25)) << " 50% " << pretty(stat.percentile(0.50)) << " 75% " << pretty(stat.percentile(0.75)) + << " max " << pretty(stat.max()) << " (" << stat.count() << " calls, " << std::setprecision(3) << (stat.count() * 1.f / node.execution_time.count() * 1.f) << "x, " << std::setprecision(2) << (100.f * stat.count() * stat.mean() / node.execution_time.mean() / node.execution_time.count()) << "%)"; else @@ -123,6 +124,7 @@ namespace psemek::prof << " 25% " << pretty(stat.percentile(0.25)) << " 50% " << pretty(stat.percentile(0.50)) << " 75% " << pretty(stat.percentile(0.75)) + << " max " << pretty(stat.max()) << " (" << stat.count() << " calls)"; dump_impl(c.second, depth + 1, level); }