summaryrefslogtreecommitdiff
path: root/tools/mbench
diff options
context:
space:
mode:
Diffstat (limited to 'tools/mbench')
-rw-r--r--tools/mbench/timp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/mbench/timp.h b/tools/mbench/timp.h
index b99816233..1a0151227 100644
--- a/tools/mbench/timp.h
+++ b/tools/mbench/timp.h
@@ -122,8 +122,8 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
({ unsigned long long int x; \
__asm__ volatile ("rpcc %0\n\t" : "=r" (x)); \
x; })
-#define timp_rdtsc_before(time) (time = tpp_rdtsc())
-#define timp_rdtsc_after(time) (time = tpp_rdtsc())
+#define timp_rdtsc_before(time) (time = timp_rdtsc())
+#define timp_rdtsc_after(time) (time = timp_rdtsc())
#else
# error Unsupported CPU