Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
CCPUInfo Class Reference

#include <CPUInfo.h>

Public Member Functions

 CCPUInfo (void)
 
 ~CCPUInfo ()
 
int getUsedPercentage ()
 
int getCPUCount () const
 
float getCPUFrequency ()
 
bool getTemperature (CTemperature &temperature)
 
std::string & getCPUModel ()
 
std::string & getCPUBogoMips ()
 
std::string & getCPUSoC ()
 
std::string & getCPUHardware ()
 
std::string & getCPURevision ()
 
std::string & getCPUSerial ()
 
const CoreInfoGetCoreInfo (int nCoreId)
 
bool HasCoreId (int nCoreId) const
 
std::string GetCoresUsageString () const
 
unsigned int GetCPUFeatures () const
 

Constructor & Destructor Documentation

◆ CCPUInfo()

CCPUInfo::CCPUInfo ( void  )

◆ ~CCPUInfo()

CCPUInfo::~CCPUInfo ( )

Member Function Documentation

◆ GetCoreInfo()

const CoreInfo & CCPUInfo::GetCoreInfo ( int  nCoreId)

◆ GetCoresUsageString()

std::string CCPUInfo::GetCoresUsageString ( ) const

◆ getCPUBogoMips()

std::string & CCPUInfo::getCPUBogoMips ( )
inline

◆ getCPUCount()

int CCPUInfo::getCPUCount ( ) const
inline

◆ GetCPUFeatures()

unsigned int CCPUInfo::GetCPUFeatures ( ) const
inline

◆ getCPUFrequency()

float CCPUInfo::getCPUFrequency ( )

◆ getCPUHardware()

std::string & CCPUInfo::getCPUHardware ( )
inline

◆ getCPUModel()

std::string & CCPUInfo::getCPUModel ( )
inline

◆ getCPURevision()

std::string & CCPUInfo::getCPURevision ( )
inline

◆ getCPUSerial()

std::string & CCPUInfo::getCPUSerial ( )
inline

◆ getCPUSoC()

std::string & CCPUInfo::getCPUSoC ( )
inline

◆ getTemperature()

bool CCPUInfo::getTemperature ( CTemperature temperature)

◆ getUsedPercentage()

int CCPUInfo::getUsedPercentage ( )

◆ HasCoreId()

bool CCPUInfo::HasCoreId ( int  nCoreId) const

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