summaryrefslogtreecommitdiffstats
path: root/src/include/kernel/timemgr.H
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2010-09-20 17:00:48 -0500
committerPatrick Williams <iawillia@us.ibm.com>2010-09-20 17:00:48 -0500
commit706838262ce47efeb8f983920a218460b81f2dc3 (patch)
treedb6e090416ff83ca5f83916f080927393c16cb3e /src/include/kernel/timemgr.H
parent365cd29d695d853c8f4be97a9a97bfd37836bbe1 (diff)
downloadtalos-hostboot-706838262ce47efeb8f983920a218460b81f2dc3.tar.gz
talos-hostboot-706838262ce47efeb8f983920a218460b81f2dc3.zip
Add skeleton of timebase manager.
Diffstat (limited to 'src/include/kernel/timemgr.H')
-rw-r--r--src/include/kernel/timemgr.H26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/include/kernel/timemgr.H b/src/include/kernel/timemgr.H
new file mode 100644
index 000000000..58381263f
--- /dev/null
+++ b/src/include/kernel/timemgr.H
@@ -0,0 +1,26 @@
+#ifndef __KERNEL_TIMEMGR_H
+#define __KERNEL_TIMEMGR_H
+
+#include <kernel/types.h>
+
+class TimeManager
+{
+ public:
+ static void init();
+ static uint64_t getTimeSliceCount()
+ {
+ return iv_timeSlice;
+ };
+
+ protected:
+ TimeManager() {};
+ ~TimeManager() {};
+
+ private:
+ void _init();
+
+
+ static uint64_t iv_timeSlice;
+};
+
+#endif
OpenPOWER on IntegriCloud