Log max execution time in profiler dump
This commit is contained in:
parent
3b89037c25
commit
3b88908534
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue