roctracer
4.1.60101
|
Memory pool properties. More...
#include <roctracer.h>
Data Fields | |
uint32_t | mode |
ROC Tracer mode. More... | |
size_t | buffer_size |
Size of buffer in bytes. More... | |
roctracer_allocator_t | alloc_fun |
The allocator function to use to allocate and deallocate the buffer. More... | |
void * | alloc_arg |
The argument to pass when invoking the alloc_fun allocator. More... | |
roctracer_buffer_callback_t | buffer_callback_fun |
The function to call when a buffer becomes full or is flushed. More... | |
void * | buffer_callback_arg |
The argument to pass when invoking the buffer_callback_fun callback. More... | |
Memory pool properties.
Defines the properties when a tracer memory pool is created.
void* roctracer_properties_t::alloc_arg |
The argument to pass when invoking the alloc_fun
allocator.
roctracer_allocator_t roctracer_properties_t::alloc_fun |
The allocator function to use to allocate and deallocate the buffer.
If NULL then malloc
, realloc
, and free
are used.
void* roctracer_properties_t::buffer_callback_arg |
The argument to pass when invoking the buffer_callback_fun
callback.
roctracer_buffer_callback_t roctracer_properties_t::buffer_callback_fun |
The function to call when a buffer becomes full or is flushed.
size_t roctracer_properties_t::buffer_size |
Size of buffer in bytes.
uint32_t roctracer_properties_t::mode |
ROC Tracer mode.