From 9de0b7f8937b7f6ce990132609f0b26851b31f2b Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Fri, 3 Jan 2025 15:36:22 +0100 Subject: Monitor CPU --- cpuload.h | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 cpuload.h (limited to 'cpuload.h') diff --git a/cpuload.h b/cpuload.h new file mode 100644 index 0000000..ae98071 --- /dev/null +++ b/cpuload.h @@ -0,0 +1,8 @@ +#pragma once + +#include + +int get_number_of_cpus(); + +// returns percentages of cpu load, for all cores +std::vector get_cpu_loads(); -- cgit v1.2.3