mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
added Google Benchmark lib (currently linux only) compile with ENABLE_BENCHMARK see bin-build/build_tools.sh
10 lines
211 B
C++
10 lines
211 B
C++
#ifndef BENCHMARK_SYSINFO_H_
|
|
#define BENCHMARK_SYSINFO_H_
|
|
|
|
namespace benchmark {
|
|
int NumCPUs();
|
|
double CyclesPerSecond();
|
|
bool CpuScalingEnabled();
|
|
} // end namespace benchmark
|
|
|
|
#endif // BENCHMARK_SYSINFO_H_
|