mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-25 14:57:20 +00:00
[host] app: print CPU information on startup
This commit is contained in:
parent
c7666b065a
commit
e05bb196f0
@ -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))
|
||||||
|
Loading…
Reference in New Issue
Block a user