ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
Cpu.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - CloudViewer: www.cloudViewer.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2024 www.cloudViewer.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #pragma once
9 
10 // LOCAL
11 #include "CVCoreLib.h"
12 
13 namespace cloudViewer {
14 namespace system {
15 
23 
28 
29 } // namespace system
30 } // namespace cloudViewer
#define CV_CORE_LIB_API
Definition: CVCoreLibWin.h:15
int get_total_cpus()
Returns the total number of CPUs.
Definition: Cpu.cpp:133
int cpu_clock_by_os()
Returns the CPU clock, as reported by the OS.
Definition: Cpu.cpp:62
Generic file read and write utility for python interface.