gwnavruntime/kernel/SF_Timer.h Source File
Go to the documentation of this file.
17 #ifndef INC_KY_Kernel_Timer_H
18 #define INC_KY_Kernel_Timer_H
36 MksPerSecond = MsPerSecond * MksPerMs
47 static UInt32 KY_STDCALL GetTicksMs();
52 static UInt64 KY_STDCALL GetTicks();
65 static UInt64 KY_STDCALL GetProfileTicks();
70 static Double KY_STDCALL GetProfileSeconds();
73 static UInt64 KY_STDCALL GetRawTicks();
74 static UInt64 KY_STDCALL GetRawFrequency();
80 static inline Double TicksToSeconds(UInt64 ticks)
82 return static_cast<Double
>(ticks) * ((Double)1.0 / (Double)MksPerSecond);
92 virtual ~TimerOverride() {}
94 virtual UInt32 GetTicksMs() = 0;
95 virtual UInt64 GetRawTicks() = 0;
96 virtual UInt64 GetRawFrequency() = 0;
98 static void KY_STDCALL SetTimerOverride(TimerOverride* instance);
103 static void initializeTimerSystem();
104 static void shutdownTimerSystem();
Definition: gamekitcrowddispersion.h:20