[client] main: print out CPU information on startup

This commit is contained in:
Quantum 2021-08-30 20:12:35 -04:00 committed by Geoffrey McRae
parent 0faafbff47
commit c7666b065a

View File

@ -49,6 +49,7 @@
#include "common/time.h" #include "common/time.h"
#include "common/version.h" #include "common/version.h"
#include "common/paths.h" #include "common/paths.h"
#include "common/cpuinfo.h"
#include "core.h" #include "core.h"
#include "app.h" #include "app.h"
@ -1281,6 +1282,7 @@ int main(int argc, char * argv[])
DEBUG_INFO("Looking Glass (%s)", BUILD_VERSION); DEBUG_INFO("Looking Glass (%s)", BUILD_VERSION);
DEBUG_INFO("Locking Method: " LG_LOCK_MODE); DEBUG_INFO("Locking Method: " LG_LOCK_MODE);
lgDebugCPU();
if (!installCrashHandler("/proc/self/exe")) if (!installCrashHandler("/proc/self/exe"))
DEBUG_WARN("Failed to install the crash handler"); DEBUG_WARN("Failed to install the crash handler");