rocprofiler-sdk/context.h File Reference

rocprofiler-sdk/context.h File Reference#

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

Go to the source code of this file.

Macros

#define ROCPROFILER_CONTEXT_NONE   ROCPROFILER_HANDLE_LITERAL(rocprofiler_context_id_t, UINT64_MAX)
 

Functions

rocprofiler_status_t rocprofiler_create_context (rocprofiler_context_id_t *context_id)
 Create context.
 
rocprofiler_status_t rocprofiler_start_context (rocprofiler_context_id_t context_id)
 Start context.
 
rocprofiler_status_t rocprofiler_stop_context (rocprofiler_context_id_t context_id)
 Stop context.
 
rocprofiler_status_t rocprofiler_context_is_active (rocprofiler_context_id_t context_id, int *status)
 Query whether context is currently active.
 
rocprofiler_status_t rocprofiler_context_is_valid (rocprofiler_context_id_t context_id, int *status)
 Query whether the context is valid.