game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
Loading...
Searching...
No Matches
performance_profile_service.h File Reference
#include <chrono>
#include <functional>
#include <map>
#include <memory>
#include <optional>
#include <string>
#include <vector>
Include dependency graph for performance_profile_service.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  FramerateSettings
 Framerate and refresh rate settings. More...
struct  GamePerformanceData
 Performance data and profiles for a specific game. More...
struct  PerformanceProfile
 Complete performance profile for a game. More...
class  PerformanceProfileService
 Service for managing per-game performance profiles. More...
struct  PowerSettings
 Power and thermal settings (for portable devices). More...
struct  ScalingSettings
 Resolution and upscaling settings. More...
struct  SyncSettings
 Wine/Proton synchronization settings. More...
struct  WrapperSettings
 Performance wrapper/overlay settings. More...

Enumerations

enum class  PerformancePreset {
  Custom , BatteryLife , Balanced , Performance ,
  Quality , Compatibility , Silent
}
 Built-in performance presets. More...

Functions

std::string performancePresetName (PerformancePreset preset)
 Get human-readable preset name.

Enumeration Type Documentation

◆ PerformancePreset

enum class PerformancePreset
strong

Built-in performance presets.

Enumerator
Custom 

User-defined settings.

BatteryLife 

Maximize battery life (30 FPS, low TDP).

Balanced 

Balance performance and efficiency.

Performance 

Maximize performance.

Quality 

Maximize visual quality.

Compatibility 

Maximum compatibility (disable optimizations).

Silent 

Minimize fan noise (thermal throttle acceptable).

Definition at line 56 of file performance_profile_service.h.

Function Documentation

◆ performancePresetName()

std::string performancePresetName ( PerformancePreset preset)

Get human-readable preset name.

Definition at line 1305 of file performance_profile_service.cpp.

References Balanced, BatteryLife, Compatibility, Custom, Performance, Quality, and Silent.

Referenced by PerformanceProfileService::createFromPreset().