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

Available performance tools and utilities. More...

#include <system_info_service.h>

Public Member Functions

bool shouldUseGameMode () const
 True iff gamemoderun should actually be invoked.

Public Attributes

bool ananicyCppActive = false
bool gameMode = false
std::string gameModeVersion
bool gamePerformance = false
bool gamescope = false
bool mangoHud = false
std::string mangoHudVersion
bool powerProfilesDaemon = false
bool strangle = false
bool vkBasalt = false

Detailed Description

Available performance tools and utilities.

Definition at line 361 of file system_info_service.h.

Member Function Documentation

◆ shouldUseGameMode()

bool ToolAvailability::shouldUseGameMode ( ) const
inline

True iff gamemoderun should actually be invoked.

False when ananicy-cpp.service is active (ananicy-cpp already manages scheduling system-wide and conflicts with gamemoderun). See: https://discuss.cachyos.org/t/use-ananicy-cpp-with-game-performance/21080

Definition at line 382 of file system_info_service.h.

References ananicyCppActive, and gameMode.

Member Data Documentation

◆ ananicyCppActive

bool ToolAvailability::ananicyCppActive = false

Definition at line 370 of file system_info_service.h.

Referenced by shouldUseGameMode().

◆ gameMode

bool ToolAvailability::gameMode = false

Definition at line 364 of file system_info_service.h.

Referenced by shouldUseGameMode().

◆ gameModeVersion

std::string ToolAvailability::gameModeVersion

Definition at line 376 of file system_info_service.h.

◆ gamePerformance

bool ToolAvailability::gamePerformance = false

Definition at line 365 of file system_info_service.h.

◆ gamescope

bool ToolAvailability::gamescope = false

Definition at line 367 of file system_info_service.h.

◆ mangoHud

bool ToolAvailability::mangoHud = false

Definition at line 363 of file system_info_service.h.

◆ mangoHudVersion

std::string ToolAvailability::mangoHudVersion

Definition at line 375 of file system_info_service.h.

◆ powerProfilesDaemon

bool ToolAvailability::powerProfilesDaemon = false

Definition at line 369 of file system_info_service.h.

◆ strangle

bool ToolAvailability::strangle = false

Definition at line 368 of file system_info_service.h.

◆ vkBasalt

bool ToolAvailability::vkBasalt = false

Definition at line 366 of file system_info_service.h.


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