printing score cp correctly | bench 3509444

This commit is contained in:
rektdie committed 2025-06-09 13:11:11 +02:00
1 parent 5e4b1faa0a
commit 0e48eefc72
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -586,7 +586,7 @@ static SearchResults ID(Board &board, SearchParams params, SearchContext* ctx) {
std::cout << "depth " << depth; std::cout << "depth " << depth;
std::cout << " seldepth " << ctx->seldepth; std::cout << " seldepth " << ctx->seldepth;
std::cout << " time " << elapsed; std::cout << " time " << elapsed;
std::cout << " score cp " << UTILS::ConvertToWhiteRelative(board, safeResults.score); std::cout << " score cp " << safeResults.score;
std::cout << " nodes " << ctx->nodes << " nps " << int(ctx->nodes/ctx->sw.GetElapsedSec()); std::cout << " nodes " << ctx->nodes << " nps " << int(ctx->nodes/ctx->sw.GetElapsedSec());
std::cout << " hashfull " << ctx->TT.GetUsedPercentage(); std::cout << " hashfull " << ctx->TT.GetUsedPercentage();
std::cout << " pv "; std::cout << " pv ";
+2 -2
View File
@@ -38,9 +38,9 @@ public:
} }
}; };
// 64 MB // 1024 MB
constexpr U64 maxHash = (1024 * 1000000) / sizeof(TTEntry); constexpr U64 maxHash = (1024 * 1000000) / sizeof(TTEntry);
// 5 MB // 8 MB
constexpr U64 defaultHash = (8 * 1000000) / sizeof(TTEntry); constexpr U64 defaultHash = (8 * 1000000) / sizeof(TTEntry);
constexpr int16_t invalidEntry = 111111; constexpr int16_t invalidEntry = 111111;