roctxprofilerresume Interface Reference

roctxprofilerresume Interface Reference#

hipFORT API Reference: hipfort_roctx::roctxprofilerresume Interface Reference
hipfort_roctx::roctxprofilerresume Interface Reference

Request any currently running profiling tool that is should resume collecting data. More...

Public Member Functions

integer(c_int) function roctxprofilerresume_ (tid)
 

Detailed Description

Request any currently running profiling tool that is should resume collecting data.

Within a profiling tool, it is recommended that the tool re-activated the active contexts which were cached when the pause request was issued. By convention, the application should pass zero to indicate a global pause of the profiler in the current process. If the application wishes to pause only the current thread, the application should obtain the thread ID via roctxGetThreadId.

Parameters
[in]tidZero for all threads in current process or non-zero for a specific thread
Returns
int A profiling tool may choose to set this value to a non-zero value to indicate a failure while executing the request or lack of support. If the profiling tool is supports resuming but is already active, the tool should ignore the request and return zero.

Member Function/Subroutine Documentation

◆ roctxprofilerresume_()

integer(c_int) function hipfort_roctx::roctxprofilerresume::roctxprofilerresume_ ( integer(c_int64_t), value  tid)

The documentation for this interface was generated from the following file: