#include "
malloc_counter/malloc_counter.hpp"
#include <dlfcn.h>
#include <locale.h>
#include <pthread.h>
#include <stdatomic.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Classes Index
Typedefs Index
Functions Index
Variables Index
Typedefs
calloc_type
| using calloc_type = void*(size_t, size_t) |
|
free_type
| using free_type = void(void*) |
|
malloc_type
| using malloc_type = void*(size_t) |
|
realloc_type
| using realloc_type = void*(void*, size_t) |
|
Functions
__attribute__()
| __attribute__ ((constructor)) |
|
static
|
calloc()
| void * calloc (size_t nmemb, size_t size) |
|
free()
isInitHeapPointer()
| bool isInitHeapPointer (const void * ptr) |
|
static
|
malloc()
| void * malloc (size_t size) |
|
malloc_count_current()
| size_t malloc_count_current () |
|
malloc_count_num_allocs()
| size_t malloc_count_num_allocs () |
|
malloc_count_peak()
| size_t malloc_count_peak () |
|
malloc_count_print_status()
| void malloc_count_print_status () |
|
malloc_count_reset_peak()
| void malloc_count_reset_peak () |
|
malloc_count_set_callback()
malloc_count_start_monitoring()
| void malloc_count_start_monitoring () |
|
malloc_count_stop_monitoring()
| void malloc_count_stop_monitoring () |
|
malloc_count_thread_allocs()
| size_t malloc_count_thread_allocs () |
|
realloc()
| void * realloc (void * ptr, size_t size) |
|
Variables
initHeap
| char initHeap[initHeapSize] |
|
static
|
initHeapSize
| constexpr size_t initHeapSize = 4096 * 4096 |
|
constexpr
|
initHeapUse
monitoredAllocs
| _Atomic size_t monitoredAllocs = 0 |
|
static
|
monitoredThread
| _Atomic uint64_t monitoredThread = 0 |
|
static
|
monitoringActive
| _Atomic int monitoringActive = 0 |
|
static
|
originalFunctions
| OriginalFunctions originalFunctions |
|
static
|
totalNumAllocs
| _Atomic size_t totalNumAllocs = 0 |
|
static
|
Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.9.8.