Blender
V3.3
|
#include <BLI_hash_tables.hh>
Public Member Functions | |
template<typename HashTable , typename Keys > | |
HashTableStats (const HashTable &hash_table, const Keys &keys) | |
void | print (StringRef name="") |
Definition at line 258 of file BLI_hash_tables.hh.
|
inline |
Requires that the hash table has the following methods:
Definition at line 283 of file BLI_hash_tables.hh.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append_n_times(), float(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
Definition at line 308 of file BLI_hash_tables.hh.
References BLI_str_format_byte_unit(), and blender::Vector< T, InlineBufferCapacity, Allocator >::index_range().
Referenced by blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::print_stats(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::print_stats(), and blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::print_stats().