forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-11-06 9df731a176aab8e03b984b681b1bea01ccff6644
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