X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=827f074787ed879407d3f51c5253ab75dfe367f8;hp=53a99f66036f66932ccc6e01b1ade81f81b51ca3;hb=5900ab76a05b96f902fd3fc2794670916a7cb0ea;hpb=e6d8e7415220a11c06b9a707fde6f5c7dd27d34b diff --git a/src/search.cpp b/src/search.cpp index 53a99f66..827f0747 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1494,7 +1494,7 @@ split_point_start: // At split points actual search starts from here static RKISS rk; // PRNG sequence should be not deterministic - for (int i = Time::current_time().msec() % 50; i > 0; i--) + for (int i = Time::now().msec() % 50; i > 0; i--) rk.rand(); // RootMoves are already sorted by score in descending order @@ -1749,11 +1749,11 @@ void Thread::idle_loop() { void check_time() { - static Time lastInfoTime = Time::current_time(); + static Time lastInfoTime = Time::now(); if (lastInfoTime.elapsed() >= 1000) { - lastInfoTime = Time::current_time(); + lastInfoTime = Time::now(); dbg_print(); }