mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-21 20:35:35 +00:00
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:
parent
3b111b14cc
commit
dee89e25b8
3 changed files with 38 additions and 110 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue