CPU information.
More...
#include <CPUInfo.h>
◆ ~CPUInfo()
| cloudViewer::utility::CPUInfo::~CPUInfo |
( |
| ) |
|
|
default |
◆ CPUInfo()
| cloudViewer::utility::CPUInfo::CPUInfo |
( |
const CPUInfo & |
| ) |
|
|
delete |
◆ GetInstance()
| CPUInfo & cloudViewer::utility::CPUInfo::GetInstance |
( |
| ) |
|
|
static |
◆ ModelName()
| const std::string & cloudViewer::utility::CPUInfo::ModelName |
( |
| ) |
const |
Returns the CPU model name/brand string. Returns empty string if not available.
Referenced by GetCPUInfo().
◆ NumCores()
| int cloudViewer::utility::CPUInfo::NumCores |
( |
| ) |
const |
◆ NumThreads()
| int cloudViewer::utility::CPUInfo::NumThreads |
( |
| ) |
const |
Returns the number of logical CPU cores. This returns the same result as std::thread::hardware_concurrency() or boost::thread::hardware_concurrency().
Referenced by GetCPUInfo().
◆ operator=()
| void cloudViewer::utility::CPUInfo::operator= |
( |
const CPUInfo & |
| ) |
|
|
delete |
◆ Print()
| void cloudViewer::utility::CPUInfo::Print |
( |
| ) |
const |
The documentation for this class was generated from the following files: