ns-3 Direct Code Execution
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
kingsley-alloc.cc File Reference
#include "kingsley-alloc.h"
#include <string.h>
#include <sys/mman.h>
#include <stdlib.h>
#include "ns3/assert.h"
#include "ns3/log.h"
+ Include dependency graph for kingsley-alloc.cc:

Go to the source code of this file.

Macros

#define MARK_DEFINED(buffer, size)
#define MARK_UNDEFINED(buffer, size)
#define REPORT_FREE(buffer)
#define REPORT_MALLOC(buffer, size)

Functions

 NS_LOG_COMPONENT_DEFINE ("Alloc")

Macro Definition Documentation

#define MARK_DEFINED (   buffer,
  size 
)

Definition at line 24 of file kingsley-alloc.cc.

Referenced by KingsleyAlloc::Malloc().

#define MARK_UNDEFINED (   buffer,
  size 
)

Definition at line 25 of file kingsley-alloc.cc.

Referenced by KingsleyAlloc::Malloc(), and KingsleyAlloc::MmapAlloc().

#define REPORT_FREE (   buffer)

Definition at line 23 of file kingsley-alloc.cc.

Referenced by KingsleyAlloc::Free().

#define REPORT_MALLOC (   buffer,
  size 
)

Definition at line 22 of file kingsley-alloc.cc.

Referenced by KingsleyAlloc::Malloc().

Function Documentation

NS_LOG_COMPONENT_DEFINE ( "Alloc"  )