Blender V5.0
blender::MemoryCount Class Reference

#include <BLI_memory_counter.hh>

Public Member Functions

void reset ()

Public Attributes

int64_t total_bytes = 0
Set< WeakImplicitSharingPtrhandled_shared_data

Detailed Description

Definition at line 18 of file BLI_memory_counter.hh.

Member Function Documentation

◆ reset()

Member Data Documentation

◆ handled_shared_data

◆ total_bytes

Get the total number of counted bytes.

Note
This is only a rough estimate of the actual used memory. Often, not every little bit of memory is counted, so this is generally a lower bound. The actual memory usage should not be significantly higher though.

Definition at line 27 of file BLI_memory_counter.hh.


The documentation for this class was generated from the following files: