string fenFile = argc > 5 ? argv[5] : "default";
string valType = argc > 6 ? argv[6] : "depth";
- Options["Hash"].set_value(ttSize);
- Options["Threads"].set_value(threads);
- Options["OwnBook"].set_value("false");
+ Options["Hash"] = ttSize;
+ Options["Threads"] = threads;
+ Options["OwnBook"] = false;
// Search should be limited by nodes, time or depth ?
if (valType == "nodes")
// Ok, let's start the benchmark !
totalNodes = 0;
- time = get_system_time();
+ time = system_time();
for (size_t i = 0; i < fenList.size(); i++)
{
}
}
- time = get_system_time() - time;
+ time = system_time() - time;
cerr << "\n==============================="
<< "\nTotal time (ms) : " << time