X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmisc.cpp;h=72f93c5e0677cd1f854d29795ebb042a25e88eab;hp=e04dfb2c39427a5a7c641d9cc68f9f9186c51598;hb=dcbc8a7e7584511fe31db94c1b011e9ab541ca21;hpb=358ccf206ba142a68c7b5b3622a79cc309107f6d diff --git a/src/misc.cpp b/src/misc.cpp index e04dfb2c..72f93c5e 100644 --- a/src/misc.cpp +++ b/src/misc.cpp @@ -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