X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Ftt.cpp;h=f5b72ba8b3bef5c988f49ef903853adf2f8bf678;hp=3c43e12ce58cb17e5bc376feda94b60ab468430e;hb=7ae3c05795e79c9bd945607cdcfb08198f4c4b45;hpb=351844061eddffac59e7a3c2d16af7ea9661bb3e diff --git a/src/tt.cpp b/src/tt.cpp index 3c43e12c..f5b72ba8 100644 --- a/src/tt.cpp +++ b/src/tt.cpp @@ -100,11 +100,11 @@ TTEntry* TranspositionTable::probe(const Key key, bool& found) const { } -/// Returns an approximation of the hashtable occupation during a search. The -/// hash is x permill full, as per UCI protocol. +/// TranspositionTable::hashfull() returns an approximation of the hashtable +/// occupation during a search. The hash is x permill full, as per UCI protocol. + +int TranspositionTable::hashfull() const { -int TranspositionTable::hashfull() const -{ int cnt = 0; for (int i = 0; i < 1000 / ClusterSize; i++) {