Blender  V2.93
Functions
util_guarded_allocator.cpp File Reference
#include "util/util_guarded_allocator.h"
#include "util/util_stats.h"

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 ()
 

Function Documentation

◆ global_stats()

static CCL_NAMESPACE_BEGIN Stats global_stats ( Stats::static_init  )
static

◆ util_guarded_get_mem_peak()

size_t util_guarded_get_mem_peak ( )

Definition at line 43 of file util_guarded_allocator.cpp.

References global_stats(), and Stats::mem_peak.

Referenced by Scene::device_update().

◆ util_guarded_get_mem_used()

size_t util_guarded_get_mem_used ( )

Definition at line 38 of file util_guarded_allocator.cpp.

References global_stats(), and Stats::mem_used.

Referenced by Scene::device_update().

◆ util_guarded_mem_alloc()

void util_guarded_mem_alloc ( size_t  n)

◆ util_guarded_mem_free()

void util_guarded_mem_free ( size_t  n)