From e9bebe253fdecee009414bdce7ccdfba83f980e6 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 13 Dec 2017 15:29:23 +0100 Subject: add simple cache benchmark application --- include/posix/driver/uptime.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/posix') diff --git a/include/posix/driver/uptime.h b/include/posix/driver/uptime.h index c92ccf1..93711b9 100644 --- a/include/posix/driver/uptime.h +++ b/include/posix/driver/uptime.h @@ -9,7 +9,9 @@ class Uptime { public: Uptime () {} - uint64_t get(); + uint64_t get_s(); + uint64_t get_us(); + uint64_t get_cycles(); }; extern Uptime uptime; -- cgit v1.2.3