Class RocmCounterAspect
java.lang.Object
org.eclipse.tracecompass.analysis.counters.core.aspects.AbstractCounterAspect
org.eclipse.tracecompass.analysis.counters.core.aspects.CounterAspect
org.eclipse.tracecompass.incubator.rocm.core.trace.RocmCounterAspect
- All Implemented Interfaces:
ITmfCounterAspect
,ITmfEventAspect<Number>
Counter aspects to make use of the Counter analysis
- Author:
- Arnaud Fiorini
-
Field Summary
Fields inherited from interface org.eclipse.tracecompass.tmf.core.event.aspect.ITmfEventAspect
EMPTY_STRING
-
Constructor Summary
ConstructorDescriptionRocmCounterAspect
(@NonNull String fieldName, @NonNull String label, Class<@NonNull GpuAspect> class1, Integer counterId) Rocm Counter Aspect constructorRocmCounterAspect
(@NonNull String fieldName, @NonNull String label, Integer counterId) Rocm Counter Aspect constructor -
Method Summary
Methods inherited from class org.eclipse.tracecompass.analysis.counters.core.aspects.CounterAspect
equals, getGroups, hashCode
Methods inherited from class org.eclipse.tracecompass.analysis.counters.core.aspects.AbstractCounterAspect
getHelpText, getName, getType, toString
Methods inherited from interface org.eclipse.tracecompass.analysis.counters.core.aspects.ITmfCounterAspect
isHiddenByDefault
Methods inherited from interface org.eclipse.tracecompass.tmf.core.event.aspect.ITmfEventAspect
resolve
-
Constructor Details
-
RocmCounterAspect
public RocmCounterAspect(@NonNull String fieldName, @NonNull String label, Class<@NonNull GpuAspect> class1, Integer counterId) Rocm Counter Aspect constructor- Parameters:
fieldName
- The field of the performance counterlabel
- Label describing the performance counterclass1
- The Gpu group to which the counter is associatedcounterId
- the counter id which allows to retrieve the label after initialization
-
RocmCounterAspect
Rocm Counter Aspect constructor- Parameters:
fieldName
- The field of the performance counterlabel
- Label describing the performance countercounterId
- the counter id which allows to retrieve the label after initialization
-
-
Method Details
-
isCumulative
public boolean isCumulative() -
resolve
- Specified by:
resolve
in interfaceITmfEventAspect<Number>
- Overrides:
resolve
in classAbstractCounterAspect
-