NIST Biometric Evaluation Framework
Software components for biometric technology evaluations
be_system.h
Go to the documentation of this file.
1/*
2 * This software was developed at the National Institute of Standards and
3 * Technology (NIST) by employees of the Federal Government in the course
4 * of their official duties. Pursuant to title 17 Section 105 of the
5 * United States Code, this software is not subject to copyright protection
6 * and is in the public domain. NIST assumes no responsibility whatsoever for
7 * its use by other parties, and makes no guarantees, expressed or implied,
8 * about its quality, reliability, or any other characteristic.
9 */
10
11#ifndef __BE_SYSTEM_H__
12#define __BE_SYSTEM_H__
13
14#include <cstdint>
15
16#include <be_error_exception.h>
17
18namespace BiometricEvaluation
19{
27 namespace System
28 {
39 uint32_t getCPUCount();
40
49 uint32_t getCPUCoreCount();
50
64
74 uint32_t getCPUCoreCount();
75
85
95 }
96}
97#endif /* __BE_SYSTEM_H__ */
uint32_t getCPUSocketCount()
Obtain the number of CPU sockets that are online.
uint32_t getCPUCoreCount()
Obtain the number of CPU cores that are online.
uint32_t getCPUCount()
Obtain the number of central processing units that are online.
double getLoadAverage()
Obtain the system load average for the last minute.
uint64_t getRealMemorySize()
Obtain the amount of real memory in the system.
This software was developed at the National Institute of Standards and Technology (NIST) by employees...