heaphook
0.1
C++ API
Class Hierarchy
File Hierarchy
Full C++ API
Namespaces
Namespace heaphook
Classes and Structs
Struct AllocInfo
Struct AllocZeroedInfo
Struct DeallocInfo
Struct GetBlockSizeInfo
Struct ReallocInfo
Class GlobalAllocator
Class HeapTracer
Functions
Function format(char *)
Template Function format(char *, Head, Tail…)
Template Function format_as_csv_entry(char *, Head)
Template Function format_as_csv_entry(char *, Head, Tail…)
Function format_built_in_type(char *, void *)
Function format_built_in_type(char *, size_t)
Function format_built_in_type(char *, const char *)
Function is_power_of_2
Function is_valid_alignment
Function next_power_of_2
Template Function write_to_stderr
Variables
Variable HeapTraceEnabled
Typedefs
Typedef aligned_alloc_type
Typedef calloc_type
Typedef free_type
Typedef malloc_type
Typedef malloc_usable_size_type
Typedef memalign_type
Typedef posix_memalign_type
Typedef pvalloc_type
Typedef realloc_type
Typedef valloc_type
Directories
Directory include
Directory heaphook
Files
File heaphook.hpp
File heaptracer.hpp
File hook_types.hpp
File utils.hpp
Standard Documents
CHANGELOG
Changelog for package heaphook
0.1.1 (2023-08-12)
0.1.0 (2023-05-23)
LICENSE
PACKAGE
README
heaphook
Build and Install
How to use
Integrate with ROS2 launch
How to add a new memory allocator
heaphook API
Trace function
Test allocator
Index
heaphook
C++ API
Function is_power_of_2
View page source
Function is_power_of_2
Defined in
File utils.hpp
Function Documentation
inline
bool
is_power_of_2
(
size_t
x
)
noexcept