Class RocmAspects
java.lang.Object
org.eclipse.tracecompass.incubator.rocm.core.trace.RocmAspects
Some aspects to help the user navigate the ROCm events.
- Author:
- Arnaud Fiorini
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<ITmfEventAspect<?>>
Get the list of all Rocm aspectsstatic ITmfEventAspect<String>
Get the name of the function executed represented by the eventstatic ITmfEventAspect<Integer>
Get the aspect for the event pidstatic ITmfEventAspect<Integer>
Get the aspect for the event HSA queue IDstatic ITmfEventAspect<Integer>
Get the aspect for the event queue indexstatic ITmfEventAspect<Integer>
Get the aspect for the event HIP stream IDstatic ITmfEventAspect<Integer>
Get the aspect for the event tid
-
Method Details
-
getPIDAspect
Get the aspect for the event pid- Returns:
- The process ID
-
getTIDAspect
Get the aspect for the event tid- Returns:
- The thread ID
-
getQueueIDAspect
Get the aspect for the event HSA queue ID- Returns:
- The queue ID
-
getStreamIDAspect
Get the aspect for the event HIP stream ID- Returns:
- The stream ID
-
getQueueIndexAspect
Get the aspect for the event queue index- Returns:
- The event index in its HSA queue
-
getFunctionNameAspect
Get the name of the function executed represented by the event- Returns:
- The function name
-
getAllAspects
Get the list of all Rocm aspects- Returns:
- the list of aspects
-