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