|
Open3D (C++ API)
0.19.0
|
CPU information. More...
#include <CPUInfo.h>
Data Structures | |
| struct | Impl |
Public Member Functions | |
| ~CPUInfo ()=default | |
| CPUInfo (const CPUInfo &)=delete | |
| void | operator= (const CPUInfo &)=delete |
| int | NumCores () const |
| int | NumThreads () const |
| void | Print () const |
| Prints CPUInfo in the console. | |
Static Public Member Functions | |
| static CPUInfo & | GetInstance () |
CPU information.
|
default |
|
delete |
|
static |
| int open3d::utility::CPUInfo::NumCores | ( | ) | const |
Returns the number of physical CPU cores. This is similar to boost::thread::physical_concurrency().
| int open3d::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().
|
delete |
| void open3d::utility::CPUInfo::Print | ( | ) | const |
Prints CPUInfo in the console.