X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmisc.cpp;h=d53836438aa716a6eb38c3c95401b9cdf1d09ca3;hp=f168782518c8f48d387f8bb33687f06ef75de7b0;hb=83d8fe2d59bad718de70b00ac2c8fddfadda76b5;hpb=315c58354e3c4e9e1f71fc3ead1c1e0b093756c9 diff --git a/src/misc.cpp b/src/misc.cpp index f1687825..d5383643 100644 --- a/src/misc.cpp +++ b/src/misc.cpp @@ -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; }