mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 12:07:43 +00:00
Improve time managment
If we need some more and we are in time advantage take it. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
+2
-1
@@ -123,7 +123,8 @@ void benchmark(const std::string& commandLine) {
|
||||
for (it = positions.begin(); it != positions.end(); ++it)
|
||||
{
|
||||
Move moves[1] = {MOVE_NONE};
|
||||
int dummy[2] = {0, 0};
|
||||
Position pos(*it);
|
||||
think(pos, true, false, 0, 0, 0, 0, 0, 0, secsPerPos * 1000, moves);
|
||||
think(pos, true, false, 0, dummy, dummy, 0, 0, 0, secsPerPos * 1000, moves);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user