X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fbenchmark.cpp;h=876b270f23820d81ad84719edf1dd0cc9e30f471;hp=9f32dbae3a2f3e6a1d2b0c76152c59090b6e59fb;hb=c2d42ea8339b49e52a116e488214a14fda09d413;hpb=b5f6c2241b3ad688fb85ea8203a9254aff842f07 diff --git a/src/benchmark.cpp b/src/benchmark.cpp index 9f32dbae..876b270f 100644 --- a/src/benchmark.cpp +++ b/src/benchmark.cpp @@ -107,7 +107,7 @@ void benchmark(int argc, char* argv[]) { // Ok, let's start the benchmark ! totalNodes = 0; - time = get_system_time(); + time = system_time(); for (size_t i = 0; i < fenList.size(); i++) { @@ -131,7 +131,7 @@ void benchmark(int argc, char* argv[]) { } } - time = get_system_time() - time; + time = system_time() - time; cerr << "\n===============================" << "\nTotal time (ms) : " << time