sandbox
Loading...
Searching...
No Matches
sbx::memory::allocation_statistics Struct Reference

Public Member Functions

auto snapshot () const noexcept -> allocation_statistics_snapshot
 
auto current_bytes () const noexcept -> std::size_t
 
auto current_allocations () const noexcept -> std::size_t
 

Public Attributes

std::atomic< std::size_t > allocation_count {0}
 
std::atomic< std::size_t > deallocation_count {0}
 
std::atomic< std::size_t > bytes_allocated {0}
 
std::atomic< std::size_t > bytes_freed {0}
 
std::atomic< std::size_t > peak_bytes {0}
 

The documentation for this struct was generated from the following file: