Thrill  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
malloc_tracker.hpp File Reference
#include <cstdlib>
+ Include dependency graph for malloc_tracker.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 thrill
 
 thrill::common
 Contains many common tools and helpers shared by higher layers. See common.
 
 thrill::mem
 

Macros

#define THRILL_MEM_MALLOC_TRACKER_HEADER
 

Functions

void * bypass_aligned_alloc (size_t alignment, size_t size) noexcept
 bypass malloc tracker and access aligned_alloc() directly More...
 
void bypass_aligned_free (void *ptr, size_t size) noexcept
 bypass malloc tracker and access aligned_alloc() directly More...
 
void bypass_free (void *ptr, size_t size) noexcept
 bypass malloc tracker and access free() directly More...
 
void * bypass_malloc (size_t size) noexcept
 bypass malloc tracker and access malloc() directly More...
 
void flush_memory_statistics ()
 method to flush thread-local memory statistics when memory_exceeded More...
 
ssize_t malloc_tracker_current ()
 user function to return the currently allocated amount of memory More...
 
ssize_t malloc_tracker_peak ()
 user function to return the peak allocation More...
 
void malloc_tracker_print_leaks ()
 user function which prints new unfreed areas to stdout since the last call More...
 
void malloc_tracker_print_status ()
 user function which prints current and peak allocation to stderr More...
 
void malloc_tracker_reset_peak ()
 user function to reset the peak allocation to current More...
 
ssize_t malloc_tracker_total_allocs ()
 user function to return total number of allocations More...
 
void set_memory_limit_indication (ssize_t size)
 
void StartMemProfiler (common::ProfileThread &sched, common::JsonLogger &logger)
 launch profiler task More...
 

Macro Definition Documentation

#define THRILL_MEM_MALLOC_TRACKER_HEADER

Definition at line 13 of file malloc_tracker.hpp.