rocprofiler-sdk/rocprofiler.h Source File#
|
ROCprofiler-SDK developer API 1.0.0
ROCm Profiling API and tools
|
rocprofiler.h
Go to the documentation of this file.
80 * Returns the version of the rocprofiler-sdk library loaded at runtime. This can be used to check
81 * if the runtime version is equal to or compatible with the version of rocprofiler-sdk used during
96 * Returns the version of the rocprofiler-sdk library loaded at runtime. This can be used to check
97 * if the runtime version is equal to or compatible with the version of rocprofiler-sdk used during
100 * @param [out] info Pointer to version triplet struct which will be populated by the function call.
169 * @return Will return a nullptr if invalid/unsupported ::rocprofiler_status_t value is provided.
178 * @return Will return a nullptr if invalid/unsupported ::rocprofiler_status_t value is provided.
uint64_t rocprofiler_thread_id_t
Thread ID. Value will be equivalent to syscall(__NR_gettid)
Definition fwd.h:507
const char * rocprofiler_get_status_name(rocprofiler_status_t status)
Return the string encoding of rocprofiler_status_t value.
rocprofiler_status_t rocprofiler_get_timestamp(rocprofiler_timestamp_t *ts)
Get the timestamp value that rocprofiler uses.
const char * rocprofiler_get_status_string(rocprofiler_status_t status)
Return the message associated with rocprofiler_status_t value.
rocprofiler_status_t rocprofiler_get_thread_id(rocprofiler_thread_id_t *tid)
Get the identifier value of the current thread that is used by rocprofiler.
rocprofiler_status_t rocprofiler_get_version_triplet(rocprofiler_version_triplet_t *info)
Simplified alternative to rocprofiler_get_version.
rocprofiler_status_t rocprofiler_get_version(uint32_t *major, uint32_t *minor, uint32_t *patch)
Query the version of the installed library.
Generated by