mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-02 14:50:41 -07:00
Initial commit for GitHub migration based on spice2x-25-03-03
This commit is contained in:
@@ -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