PicoScenes API Docs
 
Loading...
Searching...
No Matches
SystemTools::Misc Namespace Reference

Functions

std::string getCPUGovernor ()
 Gets the current CPU governor.
 
bool isPackageInstalled (const std::string &packageName)
 Checks if a package is installed.
 

Function Documentation

◆ getCPUGovernor()

std::string SystemTools::Misc::getCPUGovernor ( )

Gets the current CPU governor.

Returns
The CPU governor.

◆ isPackageInstalled()

bool SystemTools::Misc::isPackageInstalled ( const std::string &  packageName)

Checks if a package is installed.

Parameters
packageNameThe name of the package.
Returns
True if the package is installed, false otherwise.