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