mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-11-30 02:56:42 -08:00
Initial commit for GitHub migration based on spice2x-25-03-03
This commit is contained in:
1 parent
94af8d32c9
commit
ed8c72852f
1008 files changed
+296815
No files matched your search
@@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <cstdint>
|
||||
|
||||
namespace cpuutils {
|
||||
enum class CpuEfficiencyClass {
|
||||
PreferECores,
|
||||
PreferPCores
|
||||
};
|
||||
|
||||
std::vector<float> get_load();
|
||||
void print_cpu_features();
|
||||
void set_processor_priority(std::string priority);
|
||||
void set_processor_affinity(uint64_t affinity, bool is_user_override);
|
||||
void set_processor_affinity(CpuEfficiencyClass eff_class);
|
||||
}
|
||||
Reference in new issue
Block a user