]> git.sesse.net Git - stockfish/blobdiff - src/benchmark.cpp
Introduce and use wait_for_search_finished()
[stockfish] / src / benchmark.cpp
index 4735729add884116f27a981bf7736e55b1d2eb75..9f0ac0c145b220798eaab1449e8b848f3c411b94 100644 (file)
@@ -72,7 +72,6 @@ void benchmark(int argc, char* argv[]) {
 
   Options["Hash"]    = ttSize;
   Options["Threads"] = threads;
-  Options["OwnBook"] = false;
 
   if (valType == "time")
       limits.maxTime = 1000 * atoi(valStr.c_str()); // maxTime is in ms
@@ -119,7 +118,7 @@ void benchmark(int argc, char* argv[]) {
       }
       else
       {
-          Threads.start_thinking(pos, limits);
+          Threads.start_searching(pos, limits);
           nodes += Search::RootPosition.nodes_searched();
       }
   }