mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user