mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-13 01:59:14 +03:00
ChessEngine: Use ElapsedTimer::start_new()
This commit is contained in:
parent
f6d179b304
commit
8476ad2e18
Notes:
sideshowbarker
2024-07-18 04:06:56 +09:00
Author: https://github.com/bgianfo Commit: https://github.com/SerenityOS/serenity/commit/8476ad2e183 Pull-request: https://github.com/SerenityOS/serenity/pull/9999 Reviewed-by: https://github.com/awesomekling ✅
@ -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 New Issue
Block a user