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

Complete performance profile for a game. More...

#include <performance_profile_service.h>

Collaboration diagram for PerformanceProfile:

Public Member Functions

std::string getSummary () const
 Get a summary string of the profile settings.
bool isDefault () const
 Check if this is the default profile.

Public Attributes

time_t createdAt = 0
 When profile was created.
std::string description
 Optional description.
std::map< std::string, std::string > environmentVariables
FramerateSettings framerate
std::string id
 Unique profile ID.
time_t lastUsedAt = 0
 When profile was last applied.
std::vector< std::string > linkedGameIds
std::string name
 Display name (e.g., "High Performance").
PowerSettings power
PerformancePreset preset = PerformancePreset::Custom
ScalingSettings scaling
SyncSettings sync
int useCount = 0
 Number of times profile was used.
WrapperSettings wrappers

Detailed Description

Complete performance profile for a game.

Definition at line 153 of file performance_profile_service.h.

Member Function Documentation

◆ getSummary()

std::string PerformanceProfile::getSummary ( ) const

Get a summary string of the profile settings.

Definition at line 1269 of file performance_profile_service.cpp.

References framerate, scaling, and wrappers.

◆ isDefault()

bool PerformanceProfile::isDefault ( ) const
inline

Check if this is the default profile.

Definition at line 182 of file performance_profile_service.h.

References name.

Member Data Documentation

◆ createdAt

◆ description

std::string PerformanceProfile::description

◆ environmentVariables

std::map<std::string, std::string> PerformanceProfile::environmentVariables

◆ framerate

◆ id

◆ lastUsedAt

time_t PerformanceProfile::lastUsedAt = 0

◆ linkedGameIds

std::vector<std::string> PerformanceProfile::linkedGameIds

Definition at line 177 of file performance_profile_service.h.

◆ name

◆ power

PowerSettings PerformanceProfile::power

◆ preset

◆ scaling

◆ sync

◆ useCount

int PerformanceProfile::useCount = 0

◆ wrappers


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