aboutsummaryrefslogtreecommitdiff
path: root/MicroBenchmarks/libs/benchmark-1.2.0/src/sysinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'MicroBenchmarks/libs/benchmark-1.2.0/src/sysinfo.h')
-rw-r--r--MicroBenchmarks/libs/benchmark-1.2.0/src/sysinfo.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/MicroBenchmarks/libs/benchmark-1.2.0/src/sysinfo.h b/MicroBenchmarks/libs/benchmark-1.2.0/src/sysinfo.h
new file mode 100644
index 00000000..c5d9916d
--- /dev/null
+++ b/MicroBenchmarks/libs/benchmark-1.2.0/src/sysinfo.h
@@ -0,0 +1,10 @@
+#ifndef BENCHMARK_SYSINFO_H_
+#define BENCHMARK_SYSINFO_H_
+
+namespace benchmark {
+int NumCPUs();
+double CyclesPerSecond();
+bool CpuScalingEnabled();
+} // end namespace benchmark
+
+#endif // BENCHMARK_SYSINFO_H_