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

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1248 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2008-12-11 17:37:40 +00:00
parent 0cd128cfb3
commit 095bef4f9b
+3 -1
View File
@@ -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 {