diff options
Diffstat (limited to 'cpuload.h')
-rw-r--r-- | cpuload.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 <vector> + +int get_number_of_cpus(); + +// returns percentages of cpu load, for all cores +std::vector<int> get_cpu_loads(); |