mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 13:17:44 +00:00
Debugging: move debug function definitions in misc.cpp
Also activate writing on log file. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -729,6 +729,12 @@ namespace {
|
||||
|
||||
if (UseLogFile)
|
||||
{
|
||||
if (dbg_show_mean)
|
||||
dbg_print_mean(LogFile);
|
||||
|
||||
if (dbg_show_hit_rate)
|
||||
dbg_print_hit_rate(LogFile);
|
||||
|
||||
UndoInfo u;
|
||||
LogFile << "Nodes: " << nodes_searched() << std::endl
|
||||
<< "Nodes/second: " << nps() << std::endl
|
||||
|
||||
Reference in New Issue
Block a user