java.lang.Object
org.eclipse.tracecompass.incubator.rocm.core.trace.RocmAspects

@NonNullByDefault public class RocmAspects extends Object
Some aspects to help the user navigate the ROCm events.
Author:
Arnaud Fiorini
  • Method Details

    • getPIDAspect

      public static ITmfEventAspect<Integer> getPIDAspect()
      Get the aspect for the event pid
      Returns:
      The process ID
    • getTIDAspect

      public static ITmfEventAspect<Integer> getTIDAspect()
      Get the aspect for the event tid
      Returns:
      The thread ID
    • getQueueIDAspect

      public static ITmfEventAspect<Integer> getQueueIDAspect()
      Get the aspect for the event HSA queue ID
      Returns:
      The queue ID
    • getStreamIDAspect

      public static ITmfEventAspect<Integer> getStreamIDAspect()
      Get the aspect for the event HIP stream ID
      Returns:
      The stream ID
    • getQueueIndexAspect

      public static ITmfEventAspect<Integer> getQueueIndexAspect()
      Get the aspect for the event queue index
      Returns:
      The event index in its HSA queue
    • getFunctionNameAspect

      public static ITmfEventAspect<String> getFunctionNameAspect()
      Get the name of the function executed represented by the event
      Returns:
      The function name
    • getAllAspects

      public static List<ITmfEventAspect<?>> getAllAspects()
      Get the list of all Rocm aspects
      Returns:
      the list of aspects