#include <tracker_allocator.hpp>
|
std::atomic< std::size_t > | _current |
|
std::atomic< std::size_t > | _peak |
|
◆ mem_counter()
mlab::mem_counter::mem_counter |
( |
| ) |
|
◆ current()
std::size_t mlab::mem_counter::current |
( |
| ) |
const |
|
nodiscard |
◆ format_mem()
std::string mlab::mem_counter::format_mem |
( |
std::size_t | bytes | ) |
|
|
staticnodiscard |
◆ operator++()
◆ operator+=()
mem_counter & mlab::mem_counter::operator+= |
( |
std::size_t | bytes | ) |
|
◆ operator--()
◆ operator-=()
mem_counter & mlab::mem_counter::operator-= |
( |
std::size_t | bytes | ) |
|
◆ peak()
std::size_t mlab::mem_counter::peak |
( |
| ) |
const |
|
nodiscard |
◆ update_peak()
void mlab::mem_counter::update_peak |
( |
std::size_t | new_current | ) |
|
◆ _current
std::atomic<std::size_t> mlab::mem_counter::_current |
|
private |
◆ _peak
std::atomic<std::size_t> mlab::mem_counter::_peak |
|
private |
The documentation for this class was generated from the following files: