mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-16 06:30:41 +00:00
ChessEngine: Use ElapsedTimer::start_new()
This commit is contained in:
parent
f6d179b304
commit
8476ad2e18
|
@ -36,8 +36,7 @@ void ChessEngine::handle_go(const GoCommand& command)
|
|||
|
||||
srand(get_random<u32>());
|
||||
|
||||
Core::ElapsedTimer elapsed_time;
|
||||
elapsed_time.start();
|
||||
auto elapsed_time = Core::ElapsedTimer::start_new();
|
||||
|
||||
MCTSTree mcts(m_board);
|
||||
|
||||
|
|
Loading…
Reference in a new issue