mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-09 20:24:14 +00:00
[host] app: print CPU information on startup
This commit is contained in:
@@ -32,6 +32,7 @@
|
|||||||
#include "common/sysinfo.h"
|
#include "common/sysinfo.h"
|
||||||
#include "common/time.h"
|
#include "common/time.h"
|
||||||
#include "common/stringutils.h"
|
#include "common/stringutils.h"
|
||||||
|
#include "common/cpuinfo.h"
|
||||||
|
|
||||||
#include <lgmp/host.h>
|
#include <lgmp/host.h>
|
||||||
|
|
||||||
@@ -539,6 +540,7 @@ int app_main(int argc, char * argv[])
|
|||||||
return LG_HOST_EXIT_FATAL;
|
return LG_HOST_EXIT_FATAL;
|
||||||
|
|
||||||
DEBUG_INFO("Looking Glass Host (%s)", BUILD_VERSION);
|
DEBUG_INFO("Looking Glass Host (%s)", BUILD_VERSION);
|
||||||
|
lgDebugCPU();
|
||||||
|
|
||||||
struct IVSHMEM shmDev = { 0 };
|
struct IVSHMEM shmDev = { 0 };
|
||||||
if (!ivshmemInit(&shmDev))
|
if (!ivshmemInit(&shmDev))
|
||||||
|
Reference in New Issue
Block a user