mirror of
https://github.com/official-stockfish/Stockfish.git
synced 2026-07-24 05:37:13 +00:00
[cluster] Improve user documentation
- add cluster info line - provides basic info on positions received/stored in a cluster run, useful to judge performance. - document most cluster functionality in the readme.md No functional change
This commit is contained in:
committed by
Stéphane Nicolet
parent
21819b7bf8
commit
10a920d7d7
@@ -466,7 +466,10 @@ void Thread::search() {
|
||||
&& multiPV == 1
|
||||
&& (bestValue <= alpha || bestValue >= beta)
|
||||
&& Time.elapsed() > 3000)
|
||||
{
|
||||
sync_cout << UCI::pv(rootPos, rootDepth, alpha, beta) << sync_endl;
|
||||
Cluster::cluster_info(rootDepth);
|
||||
}
|
||||
|
||||
// In case of failing low/high increase aspiration window and
|
||||
// re-search, otherwise exit the loop.
|
||||
@@ -501,7 +504,10 @@ void Thread::search() {
|
||||
|
||||
if ( Cluster::is_root() && mainThread
|
||||
&& (Threads.stop || pvIdx + 1 == multiPV || Time.elapsed() > 3000))
|
||||
{
|
||||
sync_cout << UCI::pv(rootPos, rootDepth, alpha, beta) << sync_endl;
|
||||
Cluster::cluster_info(rootDepth);
|
||||
}
|
||||
}
|
||||
|
||||
if (!Threads.stop)
|
||||
|
||||
Reference in New Issue
Block a user