Timestamp Operations

Timestamp Operations#

ROC Profiler: Timestamp Operations
Timestamp Operations

For this group we are focusing on timestamps collection and timestamp definition. More...

Data Structures

struct  rocprofiler_timestamp_t
 ROCProfiling Timestamp Type. More...
 
struct  rocprofiler_record_header_timestamp_t
 Timestamps (start & end), it will be used for kernel dispatch tracing as well as API Tracing. More...
 

Functions

ROCPROFILER_API rocprofiler_status_t rocprofiler_get_timestamp (rocprofiler_timestamp_t *timestamp) ROCPROFILER_VERSION_9_0
 Get the system clock timestamp. More...
 

Detailed Description

For this group we are focusing on timestamps collection and timestamp definition.

Function Documentation

◆ rocprofiler_get_timestamp()

ROCPROFILER_API rocprofiler_status_t rocprofiler_get_timestamp ( rocprofiler_timestamp_t timestamp)

Get the system clock timestamp.

Parameters
[out]timestampThe system clock timestamp in nano seconds.
Return values
ROCPROFILER_STATUS_SUCCESSThe function has been executed successfully.
ROCPROFILER_STATUS_ERROR_TIMESTAMP_NOT_APPLICABLEThe function failed to get the timestamp using HSA Function.