MemoryUse Module

Module Contents

TRACKTABLE_CORE_EXPORT std::size_t tracktable::peak_memory_use()

Returns the peak (maximum so far) resident set size (physical memory use) measured in bytes, or zero if the value cannot be determined on this OS.

Returns the peak (maximum so far) resident set size (physical memory use) measured in bytes.

Args: none

Return value: Maximum memory use in bytes or zero if the value cannot be determined on this OS.

TRACKTABLE_CORE_EXPORT std::size_t tracktable::current_memory_use()

Returns the current resident set size (physical memory use) measured in bytes, or zero if the value cannot be determined on this OS.

Returns the current resident set size (physical memory use) measured in bytes.

Args: none

Return value: Current memory use in bytes or zero if the value cannot be determined on this OS.