summaryrefslogtreecommitdiffstats
path: root/include/timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/timer.h')
-rw-r--r--include/timer.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/timer.h b/include/timer.h
index 7fee17e3d2..f14725cc28 100644
--- a/include/timer.h
+++ b/include/timer.h
@@ -8,6 +8,15 @@
#define _TIMER_H_
/*
+ * dm_timer_init - initialize a timer for time keeping. On success
+ * initializes gd->timer so that lib/timer can use it for future
+ * referrence.
+ *
+ * @return - 0 on success or error number
+ */
+int dm_timer_init(void);
+
+/*
* timer_conv_64 - convert 32-bit counter value to 64-bit
*
* @count: 32-bit counter value
OpenPOWER on IntegriCloud