Commit e8cf68e2 authored by twanvl's avatar twanvl

option to :profile command, to specify how detailed profile output should be

parent 9e5b96e5
......@@ -167,7 +167,9 @@ void CLISetInterface::handleCommand(const String& command) {
if (arg == _("full")) {
showProfilingStats(profile_root);
} else {
showProfilingStats(profile_aggregated());
long level = 1;
arg.ToLong(&level);
showProfilingStats(profile_aggregated(level));
}
#endif
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment