rocprofiler-sdk/buffer.h File Reference

rocprofiler-sdk/buffer.h File Reference#

Rocprofiler SDK Developer API: rocprofiler-sdk/buffer.h File Reference
Rocprofiler SDK Developer API 0.5.0
ROCm Profiling API and tools
buffer.h File Reference
+ Include dependency graph for buffer.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef void(* rocprofiler_buffer_tracing_cb_t) (rocprofiler_context_id_t context, rocprofiler_buffer_id_t buffer_id, rocprofiler_record_header_t **headers, unsigned long num_headers, void *data, uint64_t drop_count)
 Async callback function.
 

Functions

rocprofiler_status_t rocprofiler_create_buffer (rocprofiler_context_id_t context, unsigned long size, unsigned long watermark, rocprofiler_buffer_policy_t policy, rocprofiler_buffer_tracing_cb_t callback, void *callback_data, rocprofiler_buffer_id_t *buffer_id)
 Create buffer.
 
rocprofiler_status_t rocprofiler_destroy_buffer (rocprofiler_buffer_id_t buffer_id)
 Destroy buffer.
 
rocprofiler_status_t rocprofiler_flush_buffer (rocprofiler_buffer_id_t buffer_id)
 Flush buffer.