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
22
CV_CORE_LIB_API
int
cpu_clock_by_os
();
23
27
CV_CORE_LIB_API
int
get_total_cpus
();
28
29
}
// namespace system
30
}
// namespace cloudViewer
CV_CORE_LIB_API
#define CV_CORE_LIB_API
Definition:
CVCoreLibWin.h:15
CVCoreLib.h
cloudViewer::system::get_total_cpus
int get_total_cpus()
Returns the total number of CPUs.
Definition:
Cpu.cpp:133
cloudViewer::system::cpu_clock_by_os
int cpu_clock_by_os()
Returns the CPU clock, as reported by the OS.
Definition:
Cpu.cpp:62
cloudViewer
Generic file read and write utility for python interface.
Definition:
AutoSegmentationTools.h:16
core
include
Cpu.h
Generated on Wed Jan 28 2026 09:00:53 for ACloudViewer by
1.9.1