| 1050 | } |
| 1051 | |
| 1052 | void Console::commandFpsSubCommandOnOff(socket_native_type /*fd*/, std::string_view args) |
| 1053 | { |
| 1054 | bool state = (args.compare("on") == 0); |
| 1055 | Director* dir = Director::getInstance(); |
| 1056 | Scheduler* sched = dir->getScheduler(); |
| 1057 | sched->runOnAxmolThread(std::bind(&Director::setStatsDisplay, dir, state)); |
| 1058 | } |
| 1059 | |
| 1060 | void Console::commandHelp(socket_native_type fd, std::string_view /*args*/) |
| 1061 | { |
nothing calls this directly
no test coverage detected