summaryrefslogtreecommitdiff
path: root/include/timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/timer.h')
-rw-r--r--include/timer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/timer.h b/include/timer.h
index 7c107d2185..bbdf3c3435 100644
--- a/include/timer.h
+++ b/include/timer.h
@@ -117,6 +117,11 @@ static inline void sleep(unsigned sec)
timestamp_t get_time(void);
/**
+ * Get the time in seconds since cold boot.
+ */
+uint32_t get_seconds_since_cold_boot(void);
+
+/**
* Force the current value of the system timer.
*
* This function is for the power management implementation which wants to fix