Debugging: move debug function definitions in misc.cpp
[stockfish] / src / search.cpp
index 8e6efb7a1bd9bdc50e041194f9a8c97b35fade5f..f80d5ccb496d527fa93922a8e060c220239cc706 100644 (file)
@@ -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