removed benchStarted bool

This commit is contained in:
rektdie committed 2025-04-11 02:16:49 +02:00
1 parent eff4f50ee8
commit bd5f5ac602
3 files changed
+6 -9

No files matched your search

-2
View File
@@ -65,7 +65,6 @@ void RunBenchmark() {
Board board;
int depth = BENCH_DEPTH;
int ply = 0;
benchStarted = true;
searchStopped = false;
positionIndex = 0;
@@ -86,7 +85,6 @@ void RunBenchmark() {
std::cout << ctx.nodes << " nodes " << int(ctx.nodes/sw.GetElapsedSec()) << " nps" << std::endl;
TT.Clear();
benchStarted = false;
std::memset(killerMoves, 0, sizeof(killerMoves));
history.Clear();
positionIndex = 0;