]> git.sesse.net Git - stockfish/blobdiff - src/misc.h
Debugging: print to file
[stockfish] / src / misc.h
index 6b99c9ec4122b699e45e8c3731ab4525830e2dfd..49758bec7677dec604499bd0dd459197a3943393 100644 (file)
@@ -26,6 +26,7 @@
 //// Includes
 ////
 
+#include <fstream>
 #include <string>
 
 
@@ -37,7 +38,7 @@
 /// Version number.  If this is left empty, the current date (in the format
 /// YYMMDD) is used as a version number.
 
-const std::string EngineVersion = "1.1";
+const std::string EngineVersion = "1.1a";
 
 
 ////
@@ -60,6 +61,7 @@ extern int Bioskey();
 ////
 //// Debug
 ////
+
 extern bool dbg_show_mean;
 extern bool dbg_show_hit_rate;
 
@@ -76,5 +78,7 @@ inline void dbg_mean_of(int v) { dbg_cnt0++; dbg_cnt1 += v; }
 
 extern void dbg_print_hit_rate();
 extern void dbg_print_mean();
+extern void dbg_print_hit_rate(std::ofstream& logFile);
+extern void dbg_print_mean(std::ofstream& logFile);
 
 #endif // !defined(MISC_H_INCLUDED)