mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
[=] GameTickWatcher
[=] GameTickWatcher
This commit is contained in:
@@ -5,13 +5,13 @@ namespace GameBase
|
||||
/// <summary>
|
||||
/// 用来在多线程下检测耗时。
|
||||
/// </summary>
|
||||
public struct GameTickWatcher
|
||||
public class GameTickWatcher
|
||||
{
|
||||
private long _startTick;
|
||||
|
||||
public GameTickWatcher()
|
||||
{
|
||||
_startTick = System.DateTime.Now.Ticks;
|
||||
Refresh();
|
||||
}
|
||||
|
||||
public void Refresh()
|
||||
|
Reference in New Issue
Block a user