diff options
Diffstat (limited to 'src/libs/zbxsysinfo/win32/cpu.c')
-rw-r--r-- | src/libs/zbxsysinfo/win32/cpu.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libs/zbxsysinfo/win32/cpu.c b/src/libs/zbxsysinfo/win32/cpu.c index 9a45638310a..321f824d4a7 100644 --- a/src/libs/zbxsysinfo/win32/cpu.c +++ b/src/libs/zbxsysinfo/win32/cpu.c @@ -18,6 +18,7 @@ **/ #include "zbxsysinfo.h" +#include "../sysinfo.h" #include "log.h" @@ -209,7 +210,7 @@ finish: return numa_node_count; } -int SYSTEM_CPU_NUM(AGENT_REQUEST *request, AGENT_RESULT *result) +int system_cpu_num(AGENT_REQUEST *request, AGENT_RESULT *result) { char *tmp; int cpu_num; @@ -238,7 +239,7 @@ int SYSTEM_CPU_NUM(AGENT_REQUEST *request, AGENT_RESULT *result) return SYSINFO_RET_OK; } -int SYSTEM_CPU_UTIL(AGENT_REQUEST *request, AGENT_RESULT *result) +int system_cpu_util(AGENT_REQUEST *request, AGENT_RESULT *result) { char *tmp, *error = NULL; int cpu_num, interval; @@ -301,7 +302,7 @@ int SYSTEM_CPU_UTIL(AGENT_REQUEST *request, AGENT_RESULT *result) return SYSINFO_RET_FAIL; } -int SYSTEM_CPU_LOAD(AGENT_REQUEST *request, AGENT_RESULT *result) +int system_cpu_load(AGENT_REQUEST *request, AGENT_RESULT *result) { char *tmp, *error = NULL; double value; |