|
Blender V4.3
|
Go to the source code of this file.
Functions | |
| static CCL_NAMESPACE_BEGIN Stats | global_stats (Stats::static_init) |
| void | util_guarded_mem_alloc (size_t n) |
| void | util_guarded_mem_free (size_t n) |
| size_t | util_guarded_get_mem_used () |
| size_t | util_guarded_get_mem_peak () |
|
static |
| size_t util_guarded_get_mem_peak | ( | ) |
Definition at line 31 of file guarded_allocator.cpp.
References global_stats(), and Stats::mem_peak.
Referenced by Scene::device_update().
| size_t util_guarded_get_mem_used | ( | ) |
Definition at line 26 of file guarded_allocator.cpp.
References global_stats(), and Stats::mem_used.
Referenced by Scene::device_update().
| void util_guarded_mem_alloc | ( | size_t | n | ) |
Definition at line 14 of file guarded_allocator.cpp.
References global_stats(), and Stats::mem_alloc().
Referenced by GuardedAllocator< T >::allocate(), ccl_try_align(), device_memory::host_alloc(), and array< T, alignment >::mem_allocate().
| void util_guarded_mem_free | ( | size_t | n | ) |
Definition at line 19 of file guarded_allocator.cpp.
References global_stats(), and Stats::mem_free().
Referenced by ccl_try_align(), GuardedAllocator< T >::deallocate(), device_memory::host_free(), and array< T, alignment >::mem_free().