|
MoveIt Pro API
Core Behaviors for MoveIt Pro
|
#include "malloc_counter/malloc_counter.hpp"#include <dlfcn.h>#include <locale.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <array>
Classes | |
| struct | OriginalFunctions |
| struct | Allocations |
| struct | CallbackInfo |
Typedefs | |
| using | malloc_type = void *(size_t) |
| using | free_type = void(void *) |
| using | realloc_type = void *(void *, size_t) |
| using | CallbackFnType = void * |
Functions | |
| size_t | malloc_count_current () |
| size_t | malloc_count_peak () |
| void | malloc_count_reset_peak () |
| size_t | malloc_count_num_allocs () |
| void | malloc_count_print_status () |
| void | malloc_count_set_callback (malloc_count_callback_type *cb, CallbackFnType cookie) |
| void * | malloc (size_t size) |
| void | free (void *ptr) |
| void * | calloc (size_t nmemb, size_t size) |
| void * | realloc (void *ptr, size_t size) |
Variables | |
| constexpr size_t | threadSafeGccIntrinsics = 0 |
| OriginalFunctions | originalFunctions |
| constexpr size_t | initHeapSize = 2048 * 2048 |
| char | initHeap [initHeapSize] |
| size_t | initHeapUse = 0 |
| thread_local Allocations | allocations |
| thread_local CallbackInfo | callbackInfo |
| using CallbackFnType = void* |
| using free_type = void(void*) |
| using malloc_type = void*(size_t) |
| using realloc_type = void*(void*, size_t) |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
| void malloc_count_set_callback | ( | malloc_count_callback_type * | cb, |
| CallbackFnType | cookie | ||
| ) |
|
extern |
| thread_local Allocations allocations |
| thread_local CallbackInfo callbackInfo |
|
inline |
|
constexpr |
|
inline |
|
inline |
|
constexpr |