forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-11-20 5a4414d1fd83d52b073fc27f6e12dc9fe3b32766
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