Parameters to control malloc limits.
#include <drake/common/test_utilities/limit_malloc.h>
Public Attributes | |
int | max_num_allocations {-1} |
Maximum calls to malloc, calloc, or realloc (totaled as one). More... | |
int | min_num_allocations {-1} |
Minimum calls to malloc, calloc, or realloc (totaled as one). More... | |
bool | ignore_realloc_noops {false} |
Whether a realloc() that leaves its ptr unchanged should be ignored. More... | |
bool ignore_realloc_noops {false} |
Whether a realloc() that leaves its ptr
unchanged should be ignored.
int max_num_allocations {-1} |
Maximum calls to malloc, calloc, or realloc (totaled as one).
When less than zero, there is no limit on the number of calls.
int min_num_allocations {-1} |
Minimum calls to malloc, calloc, or realloc (totaled as one).
When less than zero, there is no limit on the number of calls.