mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-18 15:32:56 +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>());
|
srand(get_random<u32>());
|
||||||
|
|
||||||
Core::ElapsedTimer elapsed_time;
|
auto elapsed_time = Core::ElapsedTimer::start_new();
|
||||||
elapsed_time.start();
|
|
||||||
|
|
||||||
MCTSTree mcts(m_board);
|
MCTSTree mcts(m_board);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue