|
Blender V5.0
|
#include <cstddef>#include <cstdlib>#include <new>Go to the source code of this file.
Classes | |
| class | GuardedAllocator< T > |
| struct | GuardedAllocator< T >::rebind< U > |
Macros | |
| #define | MEM_GUARDED_CALL(progress, func, ...) |
Functions | |
| CCL_NAMESPACE_BEGIN void | util_guarded_mem_alloc (const size_t n) |
| void | util_guarded_mem_free (const size_t n) |
| size_t | util_guarded_get_mem_used () |
| size_t | util_guarded_get_mem_peak () |
| #define MEM_GUARDED_CALL | ( | progress, | |
| func, | |||
| ... ) |
Definition at line 149 of file guarded_allocator.h.
| size_t util_guarded_get_mem_peak | ( | ) |
Definition at line 31 of file guarded_allocator.cpp.
References global_stats().
Referenced by Scene::device_update().
| size_t util_guarded_get_mem_used | ( | ) |
Definition at line 26 of file guarded_allocator.cpp.
References global_stats().
Referenced by Scene::device_update().
| CCL_NAMESPACE_BEGIN void util_guarded_mem_alloc | ( | const size_t | n | ) |
Definition at line 14 of file guarded_allocator.cpp.
References global_stats().
Referenced by GuardedAllocator< U >::allocate(), ccl_try_align(), and util_aligned_malloc().
| void util_guarded_mem_free | ( | const size_t | n | ) |
Definition at line 19 of file guarded_allocator.cpp.
References global_stats().
Referenced by ccl_try_align(), GuardedAllocator< U >::deallocate(), and util_aligned_free().