diff options
author | Patrick Williams <iawillia@us.ibm.com> | 2010-09-20 17:00:48 -0500 |
---|---|---|
committer | Patrick Williams <iawillia@us.ibm.com> | 2010-09-20 17:00:48 -0500 |
commit | 706838262ce47efeb8f983920a218460b81f2dc3 (patch) | |
tree | db6e090416ff83ca5f83916f080927393c16cb3e /src/include/kernel/timemgr.H | |
parent | 365cd29d695d853c8f4be97a9a97bfd37836bbe1 (diff) | |
download | talos-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.H | 26 |
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 |