summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/benchmark/src/sysinfo.h
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/benchmark/src/sysinfo.h')
-rw-r--r--3rdparty/benchmark/src/sysinfo.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/3rdparty/benchmark/src/sysinfo.h b/3rdparty/benchmark/src/sysinfo.h
new file mode 100644
index 00000000000..eaf77e07ccb
--- /dev/null
+++ b/3rdparty/benchmark/src/sysinfo.h
@@ -0,0 +1,12 @@
+#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_