Class GpuAspect
java.lang.Object
org.eclipse.tracecompass.tmf.core.event.aspect.TmfDeviceAspect
org.eclipse.tracecompass.incubator.rocm.core.trace.GpuAspect
- All Implemented Interfaces:
ITmfEventAspect<Integer>
This aspect describes which GPU is related to each GPU activity or Kernel
event
- Author:
- Arnaud Fiorini
-
Field Summary
Fields inherited from interface org.eclipse.tracecompass.tmf.core.event.aspect.ITmfEventAspect
EMPTY_STRING
-
Method Summary
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.tracecompass.tmf.core.event.aspect.ITmfEventAspect
isHiddenByDefault, resolve
-
Field Details
-
INSTANCE
The singleton instance
-
-
Method Details
-
getName
-
getHelpText
-
resolve
Gets the GPU number if available on an event- Parameters:
event
- The event to get the GPU number from- Returns:
- the GPU number of the GPU on which this event was executed or
null
-
equals
Consider all sub-instance of this type "equal", so that they get merged in a single CPU column/aspect. -
getDeviceType
- Specified by:
getDeviceType
in classTmfDeviceAspect
-
hashCode
public int hashCode()
-