Add some support for CPU profiling

This commit is contained in:
2021-12-17 16:21:56 -05:00
parent cfa6c28d34
commit 227a754b21
4 changed files with 33 additions and 1 deletions

View File

@@ -86,6 +86,10 @@ void LuaConsole::simplify(const StringVec &words) {
if (words.size() != 1) {
synerr("/cpl takes no arguments");
}
} else if (words[0] == "work") {
if (words.size() != 1) {
synerr("/work takes no arguments");
}
} else {
synerr("unrecognized command");
}