summaryrefslogtreecommitdiff
path: root/include/posix/driver/uptime.h
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2017-12-13 15:29:23 +0100
committerDaniel Friesel <derf@finalrewind.org>2017-12-13 15:29:23 +0100
commite9bebe253fdecee009414bdce7ccdfba83f980e6 (patch)
tree49330d7108869ddfbe8682fb6f20ff79794f57b5 /include/posix/driver/uptime.h
parent22f2335259594569ba4a95544939ef72f3d1bb9d (diff)
add simple cache benchmark application
Diffstat (limited to 'include/posix/driver/uptime.h')
-rw-r--r--include/posix/driver/uptime.h4
1 files changed, 3 insertions, 1 deletions
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;