hc
2023-11-06 e3e12f52b214121840b44c91de5b3e5af5d3eb84
kernel/tools/perf/bench/bench.h
....@@ -2,6 +2,10 @@
22 #ifndef BENCH_H
33 #define BENCH_H
44
5
+#include <sys/time.h>
6
+
7
+extern struct timeval bench__start, bench__end, bench__runtime;
8
+
59 /*
610 * The madvise transparent hugepage constants were added in glibc
711 * 2.13. For compatibility with older versions of glibc, define these