#include <GPUInfoPosix.h>
◆ CGPUInfoPosix()
CGPUInfoPosix::CGPUInfoPosix |
( |
| ) |
|
|
protecteddefault |
◆ ~CGPUInfoPosix()
virtual CGPUInfoPosix::~CGPUInfoPosix |
( |
| ) |
|
|
protectedvirtualdefault |
◆ GetGPUTemperatureFromCommand()
bool CGPUInfoPosix::GetGPUTemperatureFromCommand |
( |
CTemperature & | temperature, |
|
|
const std::string & | cmd ) const |
|
overrideprotectedvirtual |
Get the GPU temperature from a user provided command (advanced settings)
- Note
- platform implementations must override this. For this to take effect SupportsCustomTemperatureCommand must be true.
- Parameters
-
[in,out] | temperature | - the temperature to fill with the result |
- Returns
- true if obtaining the GPU temperature succeeded, false otherwise
Implements CGPUInfo.
◆ SupportsCustomTemperatureCommand()
bool CGPUInfoPosix::SupportsCustomTemperatureCommand |
( |
| ) |
const |
|
overrideprotectedvirtual |
Checks if the specific platform implementation supports obtaining the GPU temperature via the execution of a custom command line command.
- Note
- this is false on the base class but may be overridden by the specific platform implementation. Custom GPU command is defined in advancedsettings.
- Returns
- true if the implementation supports obtaining the GPU temperature from a custom command, false otherwise
Reimplemented from CGPUInfo.
The documentation for this class was generated from the following files: