game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
Loading...
Searching...
No Matches
PowerSettings Struct Reference

Power and thermal settings (for portable devices). More...

#include <performance_profile_service.h>

Public Attributes

bool allowBoost = true
 Allow CPU/GPU boost clocks.
std::string cpuGovernor
 CPU governor preference (empty = no change).
int fanCurvePreset = 0
 Fan curve preset (0 = default).
int gpuClockLimit = 0
 GPU max clock in MHz (0 = default).
int tdpLimit = 0
 TDP limit in watts (0 = default).

Detailed Description

Power and thermal settings (for portable devices).

Definition at line 127 of file performance_profile_service.h.

Member Data Documentation

◆ allowBoost

bool PowerSettings::allowBoost = true

Allow CPU/GPU boost clocks.

Definition at line 133 of file performance_profile_service.h.

Referenced by PerformanceProfileService::createFromPreset().

◆ cpuGovernor

std::string PowerSettings::cpuGovernor

CPU governor preference (empty = no change).

Definition at line 131 of file performance_profile_service.h.

◆ fanCurvePreset

int PowerSettings::fanCurvePreset = 0

Fan curve preset (0 = default).

Definition at line 134 of file performance_profile_service.h.

Referenced by PerformanceProfileService::createFromPreset().

◆ gpuClockLimit

int PowerSettings::gpuClockLimit = 0

GPU max clock in MHz (0 = default).

Definition at line 130 of file performance_profile_service.h.

◆ tdpLimit

int PowerSettings::tdpLimit = 0

TDP limit in watts (0 = default).

Definition at line 129 of file performance_profile_service.h.

Referenced by PerformanceProfileService::createFromPreset().


The documentation for this struct was generated from the following file: