template<class dictbase, class type>
Prints some statistics about the hash table (only debug builds).
Definition at line 177 of file FXLRUCache.h. 00178 { 00179 #ifdef DEBUG 00180 float full, slotsspread, avrgkeysperslot, _spread, hitrate, churn; 00181 spread(&full, &slotsspread, &avrgkeysperslot, &_spread); 00182 cacheStats(&hitrate, &churn); 00183 fxmessage("Dictionary size=%d, items=%d, full=%f%%, slot spread=%f%%, avrg keys per slot=%f, overall spread=%f%%\n" 00184 "Cache hit rate=%d%%, churn=%d%%\n", size(), count(), full, slotsspread, avrgkeysperslot, _spread, hitrate, churn); 00185 #endif 00186 }
|