]> git.sesse.net Git - stockfish/blobdiff - src/misc.cpp
When exiting wake up all threads at once
[stockfish] / src / misc.cpp
index f168782518c8f48d387f8bb33687f06ef75de7b0..d53836438aa716a6eb38c3c95401b9cdf1d09ca3 100644 (file)
@@ -54,7 +54,7 @@ using namespace std;
 /// current date (in the format YYMMDD) is used as a version number.
 
 static const string AppName = "Stockfish";
-static const string EngineVersion = "2.1";
+static const string EngineVersion = "";
 static const string AppTag  = "";
 
 
@@ -103,14 +103,14 @@ static uint64_t dbg_mean_cnt1;
 void dbg_print_hit_rate() {
 
   if (dbg_hit_cnt0)
-      cout << "Total " << dbg_hit_cnt0 << " Hit " << dbg_hit_cnt1
+      cerr << "Total " << dbg_hit_cnt0 << " Hit " << dbg_hit_cnt1
            << " hit rate (%) " << 100 * dbg_hit_cnt1 / dbg_hit_cnt0 << endl;
 }
 
 void dbg_print_mean() {
 
   if (dbg_mean_cnt0)
-      cout << "Total " << dbg_mean_cnt0 << " Mean "
+      cerr << "Total " << dbg_mean_cnt0 << " Mean "
            << (float)dbg_mean_cnt1 / dbg_mean_cnt0 << endl;
 }