Init
This commit is contained in:
12
AwSystem.h
Normal file
12
AwSystem.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#pragma once
|
||||
#include <stdint.h>
|
||||
|
||||
|
||||
class AwSystem
|
||||
{
|
||||
public:
|
||||
static uint64_t getCpuFrequency();
|
||||
static bool isUsingPowerAdapter();
|
||||
static void setCpuPowerIndex(uint64_t percentage, uint32_t sleepInMs = 0);
|
||||
static uint64_t getCpuPowerIndex();
|
||||
};
|
||||
Reference in New Issue
Block a user