Changes profiler to use the high precision timer built into windows.

Also removes the legacy GetTickCount() fallback as that is no longer necessary in modern versions of windows (Windows XP and greater support QueryPerformanceCounter)
This commit is contained in:
Jeff Hutchinson 2020-12-28 18:14:21 -05:00
parent 3b111b14cc
commit dee89e25b8
3 changed files with 38 additions and 110 deletions

View file

@ -153,7 +153,7 @@ struct ProfilerData
U32 mHash;
U32 mSubDepth;
U32 mInvokeCount;
U32 mStartTime[2];
U64 mStartTime;
F64 mTotalTime;
F64 mSubTime;
#ifdef TORQUE_ENABLE_PROFILE_PATH