diff options
| author | Stefan Boberg <[email protected]> | 2026-02-18 09:40:35 +0100 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2026-02-18 09:40:35 +0100 |
| commit | ae9c30841074da9226a76c1eb2fb3a3e29086bf6 (patch) | |
| tree | 6929537899d77187da32aed0cb38f02e0c390cf9 /src/zencore/include | |
| parent | convert ZEN_ASSERTs to exception to handle corrupt data gracefully (#760) (diff) | |
| download | zen-ae9c30841074da9226a76c1eb2fb3a3e29086bf6.tar.xz zen-ae9c30841074da9226a76c1eb2fb3a3e29086bf6.zip | |
add selective request logging support to http.sys (#762)
* implemented selective request logging for http.sys for consistency with asio
* fixed traversal of GetLogicalProcessorInformationEx to account for variable-sized records
* also adds CPU usage metrics
Diffstat (limited to 'src/zencore/include')
| -rw-r--r-- | src/zencore/include/zencore/system.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/zencore/include/zencore/system.h b/src/zencore/include/zencore/system.h index aec2e0ce4..bf3c15d3d 100644 --- a/src/zencore/include/zencore/system.h +++ b/src/zencore/include/zencore/system.h @@ -25,6 +25,7 @@ struct SystemMetrics uint64_t AvailVirtualMemoryMiB = 0; uint64_t PageFileMiB = 0; uint64_t AvailPageFileMiB = 0; + float CpuUsagePercent = 0.0f; }; SystemMetrics GetSystemMetrics(); |