UtilsLite
Utilities for C++ programming
Loading...
Searching...
No Matches
Malloc.hxx File Reference

Go to the source code of this file.

Classes

class  Utils::Malloc< T >
 Class for dynamic memory allocation of objects. More...
 
class  Utils::MallocFixed< T, mem_size >
 Class for fixed-size memory allocation of objects. More...
 

Namespaces

namespace  Utils
 

Functions

string Utils::out_bytes (size_t nb)
 Utility function to convert byte size into a human-readable format.
 

Variables

std::mutex Utils::MallocMutex
 Global mutex for thread-safe memory operations.
 
int64_t Utils::CountAlloc
 Global variables for tracking memory allocation statistics.
 
int64_t Utils::CountFreed
 
int64_t Utils::AllocatedBytes
 
int64_t Utils::MaximumAllocatedBytes
 
bool Utils::MallocDebug