Initial commit

This commit is contained in:
nmzik
2026-07-16 10:21:41 +02:00
commit 147188b143
427 changed files with 205923 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
#include "common/systemInfo.h"
#include "common/assert.h"
#include "cpuinfo.h"
namespace Common {
SystemInfo GetSystemInfo() {
static const bool initialized = cpuinfo_initialize();
EXIT_IF(!initialized);
const auto* package = cpuinfo_get_package(0);
EXIT_IF(package == nullptr);
return {package->name};
}
} // namespace Common