roctracer_properties_t Struct Reference

roctracer_properties_t Struct Reference#

ROC Tracer: roctracer_properties_t Struct Reference
roctracer_properties_t Struct Reference

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...
 

Detailed Description

Memory pool properties.

Defines the properties when a tracer memory pool is created.

Field Documentation

◆ alloc_arg

void* roctracer_properties_t::alloc_arg

The argument to pass when invoking the alloc_fun allocator.

◆ alloc_fun

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.

◆ buffer_callback_arg

void* roctracer_properties_t::buffer_callback_arg

The argument to pass when invoking the buffer_callback_fun callback.

◆ buffer_callback_fun

roctracer_buffer_callback_t roctracer_properties_t::buffer_callback_fun

The function to call when a buffer becomes full or is flushed.

◆ buffer_size

size_t roctracer_properties_t::buffer_size

Size of buffer in bytes.

◆ mode

uint32_t roctracer_properties_t::mode

ROC Tracer mode.


The documentation for this struct was generated from the following file:
  • /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-roctracer-docs/checkouts/docs-5.5.0/inc/roctracer.h