Session User Replay Pass Mode

Session User Replay Pass Mode#

ROCProfilerV1 API: Session User Replay Pass Mode

Functions

ROCPROFILER_API rocprofiler_status_t rocprofiler_start_replay_pass () ROCPROFILER_VERSION_9_0
 Create and Start a pass A Pass is a block of code that can be replayed if required by the profiling/tracing and it mainly depends on the profiling data given in the rocprofiler_create_session. More...
 
ROCPROFILER_API rocprofiler_status_t rocprofiler_end_replay_pass () ROCPROFILER_VERSION_9_0
 End a pass End a pass created and started by ::rocprofiler_start_pass. More...
 

Detailed Description

Function Documentation

◆ rocprofiler_end_replay_pass()

ROCPROFILER_API rocprofiler_status_t rocprofiler_end_replay_pass ( )

End a pass End a pass created and started by ::rocprofiler_start_pass.

Return values
ROCPROFILER_STATUS_SUCCESSThe function has been executed successfully.
ROCPROFILER_STATUS_ERROR_NOT_INITIALIZED,ifrocprofiler_initialize wasn't called before or if rocprofiler_finalize is called
ROCPROFILER_STATUS_ERROR_PASS_NOT_STARTEDif there is no pass started before this call

◆ rocprofiler_start_replay_pass()

ROCPROFILER_API rocprofiler_status_t rocprofiler_start_replay_pass ( )

Create and Start a pass A Pass is a block of code that can be replayed if required by the profiling/tracing and it mainly depends on the profiling data given in the rocprofiler_create_session.

Return values
ROCPROFILER_STATUS_SUCCESSThe function has been executed successfully.
ROCPROFILER_STATUS_ERROR_NOT_INITIALIZED,ifrocprofiler_initialize wasn't called before or if rocprofiler_finalize is called
ROCPROFILER_STATUS_ERROR_SESSION_NOT_FOUNDIf the no active session found