|
roctracer
4.1.70202
|
The ROC Tracer API can trace multiple runtime libraries. More...
Typedefs | |
| typedef activity_domain_t | roctracer_domain_t |
| Enumeration of domains that can be traced. More... | |
Functions | |
| ROCTRACER_API const char * | roctracer_op_string (uint32_t domain, uint32_t op, uint32_t kind) ROCTRACER_VERSION_4_1 |
| Query textual name of an operation of a domain. More... | |
| ROCTRACER_API roctracer_status_t | roctracer_op_code (uint32_t domain, const char *str, uint32_t *op, uint32_t *kind) ROCTRACER_VERSION_4_1 |
| Query the operation code given a domain and the name of an operation. More... | |
| ROCTRACER_API roctracer_status_t | roctracer_set_properties (roctracer_domain_t domain, void *properties) ROCTRACER_VERSION_4_1 |
| Set the properties of a domain. More... | |
The ROC Tracer API can trace multiple runtime libraries.
Each library can have API operations and asynchronous operations that can be traced.
| typedef activity_domain_t roctracer_domain_t |
Enumeration of domains that can be traced.
| ROCTRACER_API roctracer_status_t roctracer_op_code | ( | uint32_t | domain, |
| const char * | str, | ||
| uint32_t * | op, | ||
| uint32_t * | kind | ||
| ) |
Query the operation code given a domain and the name of an operation.
| [in] | domain | The domain being queried. |
| [in] | str | The NUL terminated name of the operation name being queried. |
| [out] | op | The operation code. |
| [out] | kind | If not NULL then the operation kind code. |
| ROCTRACER_STATUS_SUCCESS | The function has been executed successfully. op and kind have been updated. |
| ROCTRACER_STATUS_ERROR_INVALID_ARGUMENT | The op is invalid for domain. |
| ROCTRACER_STATUS_ERROR_INVALID_DOMAIN_ID | The domain is invalid or not supported. |
| ROCTRACER_API const char* roctracer_op_string | ( | uint32_t | domain, |
| uint32_t | op, | ||
| uint32_t | kind | ||
| ) |
Query textual name of an operation of a domain.
| [in] | domain | Domain being queried. |
| [in] | op | Operation within domain. |
| [in] | kind |
| ROCTRACER_API roctracer_status_t roctracer_set_properties | ( | roctracer_domain_t | domain, |
| void * | properties | ||
| ) |
Set the properties of a domain.
| [in] | domain | The domain. |
| [in] | properties | The properties. Each domain defines its own type for the properties. Some domains require the properties to be set before they can be enabled. |
| ROCTRACER_STATUS_SUCCESS | The function has been executed successfully. |
1.8.11