From 3bce1022e04e20fadaecdcf21bba582ec738600d Mon Sep 17 00:00:00 2001 From: Stefan Boberg Date: Mon, 24 Nov 2025 09:56:20 +0100 Subject: GetSystemMetrics for Mac,Linux (#660) Implemented GetSystemMetrics function for Mac and Linux --- src/zencore/include/zencore/system.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/zencore/include') diff --git a/src/zencore/include/zencore/system.h b/src/zencore/include/zencore/system.h index 23665fb09..aec2e0ce4 100644 --- a/src/zencore/include/zencore/system.h +++ b/src/zencore/include/zencore/system.h @@ -16,9 +16,9 @@ std::string_view GetCpuName(); struct SystemMetrics { - int CpuCount = 1; - int CoreCount = 1; - int LogicalProcessorCount = 1; + uint32_t CpuCount = 1; + uint32_t CoreCount = 1; + uint32_t LogicalProcessorCount = 1; uint64_t SystemMemoryMiB = 0; uint64_t AvailSystemMemoryMiB = 0; uint64_t VirtualMemoryMiB = 0; -- cgit v1.2.3