[=] GameTickWatcher

[=] GameTickWatcher
This commit is contained in:
ALEXTANG
2023-04-21 10:37:01 +08:00
parent 4f908d46af
commit 2fcd02d69e

View File

@@ -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()