Author SHA1 Message Date
rektdie de0cf7dd77 fixed score printing 2025-06-08 13:22:55 +02:00
2 changed files with 3 additions and 3 deletions

No files matched your search

+1 -1
View File
@@ -585,7 +585,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
@@ -32,9 +32,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 int invalidEntry = 111111; constexpr int invalidEntry = 111111;