mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
Update GameTickWatcher.cs
This commit is contained in:
@@ -26,5 +26,10 @@
|
|||||||
long endTick = System.DateTime.Now.Ticks;
|
long endTick = System.DateTime.Now.Ticks;
|
||||||
return (float)((endTick - m_startTick) / 10000) / 1000.0f;
|
return (float)((endTick - m_startTick) / 10000) / 1000.0f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void LogUsedTime()
|
||||||
|
{
|
||||||
|
TLogger.LogException($"Used Time: {this.ElapseTime()}");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user