mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-14 04:03:46 +00:00
Merge pull request #1350 from Azaezel/timingIsEverything
fills in profiler timer fallback
This commit is contained in:
commit
ec63398042
1 changed files with 3 additions and 1 deletions
|
|
@ -155,11 +155,13 @@ U32 endHighResolutionTimer(U32 time[2]) {
|
|||
|
||||
void startHighResolutionTimer(U32 time[2])
|
||||
{
|
||||
time[0] = Platform::getRealMilliseconds();
|
||||
}
|
||||
|
||||
U32 endHighResolutionTimer(U32 time[2])
|
||||
{
|
||||
return 1;
|
||||
U32 ticks = Platform::getRealMilliseconds() - time[0];
|
||||
return ticks;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue