|
Blender V4.3
|
#include <BLI_memory_counter.hh>
Public Member Functions | |
| void | reset () |
Public Attributes | |
| int64_t | total_bytes = 0 |
| Set< WeakImplicitSharingPtr > | handled_shared_data |
Definition at line 20 of file BLI_memory_counter.hh.
| void blender::memory_counter::MemoryCount::reset | ( | ) |
Definition at line 39 of file memory_counter.cc.
Referenced by blender::memory_cache::clear(), and blender::memory_cache::try_enforce_limit().
| Set<WeakImplicitSharingPtr> blender::memory_counter::MemoryCount::handled_shared_data |
Definition at line 31 of file BLI_memory_counter.hh.
| int64_t blender::memory_counter::MemoryCount::total_bytes = 0 |
Get the total number of counted bytes.
Definition at line 29 of file BLI_memory_counter.hh.
Referenced by blender::memory_counter::MemoryCounter::add(), blender::memory_cache::get_base(), blender::tests::TEST(), and blender::memory_cache::try_enforce_limit().