mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 05:07:46 +00:00
Add mean calculation in debug tools
Another simple performance counter... Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -2172,6 +2172,12 @@ namespace {
|
||||
{
|
||||
lastInfoTime = t;
|
||||
lock_grab(&IOLock);
|
||||
if (dbg_show_mean)
|
||||
dbg_print_mean();
|
||||
|
||||
if (dbg_show_hit_rate)
|
||||
dbg_print_hit_rate();
|
||||
|
||||
std::cout << "info nodes " << nodes_searched() << " nps " << nps()
|
||||
<< " time " << t << " hashfull " << TT.full() << std::endl;
|
||||
lock_release(&IOLock);
|
||||
|
||||
Reference in New Issue
Block a user