unilink  0.4.3
A simple C++ library for unified async communication
memory_tracker.hpp File Reference
#include <atomic>
#include <chrono>
#include <memory>
#include <mutex>
#include <string>
#include <unordered_map>
#include <vector>
#include "unilink/base/visibility.hpp"

Go to the source code of this file.

Classes

class  unilink::memory::MemoryTracker
 Memory allocation tracker for debugging and monitoring. More...
 
struct  unilink::memory::MemoryTracker::AllocationInfo
 
struct  unilink::memory::MemoryTracker::MemoryStats
 
class  unilink::memory::ScopedMemoryTracker
 RAII helper for automatic memory tracking. More...
 

Namespaces

 
 

Macros

#define MEMORY_TRACK_ALLOCATION(ptr, size)   ((void)0)
 
#define MEMORY_TRACK_DEALLOCATION(ptr)   ((void)0)
 
#define MEMORY_TRACK_SCOPE()   ((void)0)
 

Macro Definition Documentation

◆ MEMORY_TRACK_ALLOCATION

#define MEMORY_TRACK_ALLOCATION (   ptr,
  size 
)    ((void)0)

Definition at line 130 of file memory_tracker.hpp.

◆ MEMORY_TRACK_DEALLOCATION

#define MEMORY_TRACK_DEALLOCATION (   ptr)    ((void)0)

Definition at line 131 of file memory_tracker.hpp.

◆ MEMORY_TRACK_SCOPE

#define MEMORY_TRACK_SCOPE ( )    ((void)0)

Definition at line 132 of file memory_tracker.hpp.