00001
00002
00003
00004
00005
00006
00007
00018 #ifndef OSCL_TICKCOUNT_H_INCLUDED
00019 #define OSCL_TICKCOUNT_H_INCLUDED
00020
00021 #ifndef OSCL_BASE_H_INCLUDED
00022 #include "oscl_base.h"
00023 #endif
00024
00025 #define OSCLTICKCOUNT_MAX_TICKS 0xffffffff
00026
00034 class OsclTickCount
00035 {
00036 public:
00042 static uint32 TickCount();
00043
00050 static uint32 TickCountFrequency();
00051
00058 static uint32 TickCountPeriod();
00059
00065 static uint32 TicksToMsec(uint32 ticks);
00066
00072 static uint32 MsecToTicks(uint32 msec);
00073 };
00074
00075 #if !OSCL_DISABLE_INLINES
00076 #include "oscl_tickcount.inl"
00077 #endif
00078
00079 #endif // OSCL_TICK_UTILS_H_INCLUDED
00080