mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 13:37:22 +00:00
[client] main: print out CPU information on startup
This commit is contained in:
parent
0faafbff47
commit
c7666b065a
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user