diff options
| author | Stefan Boberg <[email protected]> | 2025-11-24 09:56:20 +0100 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2025-11-24 09:56:20 +0100 |
| commit | 3bce1022e04e20fadaecdcf21bba582ec738600d (patch) | |
| tree | a9d6ecfeafeb7e3da866b42dc805cc3408457882 /src/zencore/include | |
| parent | increase timeout and add retry when testing host connectivity (#659) (diff) | |
| download | zen-3bce1022e04e20fadaecdcf21bba582ec738600d.tar.xz zen-3bce1022e04e20fadaecdcf21bba582ec738600d.zip | |
GetSystemMetrics for Mac,Linux (#660)
Implemented GetSystemMetrics function for Mac and Linux
Diffstat (limited to 'src/zencore/include')
| -rw-r--r-- | src/zencore/include/zencore/system.h | 6 |
1 files changed, 3 insertions, 3 deletions
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; |