X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmisc.cpp;h=c7e428036840f849a660b70eb548e5ba366f7a63;hp=e04dfb2c39427a5a7c641d9cc68f9f9186c51598;hb=aa2de53a83ca5423c8c8007abf71f9afdf589d93;hpb=358ccf206ba142a68c7b5b3622a79cc309107f6d diff --git a/src/misc.cpp b/src/misc.cpp index e04dfb2c..c7e42803 100644 --- a/src/misc.cpp +++ b/src/misc.cpp @@ -58,7 +58,7 @@ using namespace std; /// Version number. If this is left empty, the current date (in the format /// YYMMDD) is used as a version number. -static const string EngineVersion = ""; +static const string EngineVersion = "2.0"; static const string AppName = "Stockfish"; static const string AppTag = ""; @@ -127,17 +127,6 @@ void dbg_print_mean() { << (float)dbg_cnt1 / (dbg_cnt0 ? dbg_cnt0 : 1) << endl; } -void dbg_print_hit_rate(ofstream& logFile) { - - logFile << "Total " << dbg_cnt0 << " Hit " << dbg_cnt1 - << " hit rate (%) " << (dbg_cnt1*100)/(dbg_cnt0 ? dbg_cnt0 : 1) << endl; -} - -void dbg_print_mean(ofstream& logFile) { - - logFile << "Total " << dbg_cnt0 << " Mean " - << (float)dbg_cnt1 / (dbg_cnt0 ? dbg_cnt0 : 1) << endl; -} /// engine_name() returns the full name of the current Stockfish version. /// This will be either "Stockfish YYMMDD" (where YYMMDD is the date when