mirror of
https://github.com/google/benchmark.git
synced 2025-02-14 13:20:13 +08:00
13 lines
259 B
C++
13 lines
259 B
C++
#ifndef BENCHMARK_SYSINFO_H_
|
|
#define BENCHMARK_SYSINFO_H_
|
|
|
|
namespace benchmark {
|
|
double MyCPUUsage();
|
|
double ChildrenCPUUsage();
|
|
int NumCPUs();
|
|
double CyclesPerSecond();
|
|
bool CpuScalingEnabled();
|
|
} // end namespace benchmark
|
|
|
|
#endif // BENCHMARK_SYSINFO_H_
|