rocprofiler-sdk/buffer.h Source File#
Rocprofiler SDK Developer API 0.4.0
ROCm Profiling API and tools
|
buffer.h
Go to the documentation of this file.
Generic record with type identifier(s) and a pointer to data. This data type is used with buffered da...
Definition fwd.h:617
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.
Definition buffer.h:57
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.
Generated by 1.9.8