Class Otf2CounterAspect
java.lang.Object
org.eclipse.tracecompass.analysis.counters.core.aspects.AbstractCounterAspect
org.eclipse.tracecompass.analysis.counters.core.aspects.CounterAspect
org.eclipse.tracecompass.incubator.otf2.core.trace.Otf2CounterAspect
- All Implemented Interfaces:
ITmfCounterAspect
,ITmfEventAspect<Number>
Aspect for OTF2 counters
- Author:
- Yoann Heitz
-
Field Summary
Fields inherited from interface org.eclipse.tracecompass.tmf.core.event.aspect.ITmfEventAspect
EMPTY_STRING
-
Constructor Summary
ConstructorDescriptionOtf2CounterAspect
(org.eclipse.tracecompass.incubator.internal.otf2.core.trace.MetricMember metricMember) Constructor for this aspect -
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
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
-
Otf2CounterAspect
public Otf2CounterAspect(org.eclipse.tracecompass.incubator.internal.otf2.core.trace.MetricMember metricMember) Constructor for this aspect- Parameters:
metricMember
- the metric member describing the different properties of the metric that should be resolved by this aspect
-
-
Method Details
-
addNewIds
When encountering an event containing the value for a given metric, the metric to which this event refers is identified with 2 IDs : the first one is the ID of the metric class in which is the metric. The second ID is the index of the metric in this metric class. The same metric may appears in several metric classes so we must store the different pair of IDs representing this metric- Parameters:
ids
- a pair of IDs that references this metric
-
resolve
- Specified by:
resolve
in interfaceITmfEventAspect<Number>
- Overrides:
resolve
in classAbstractCounterAspect
-
getHelpText
- Specified by:
getHelpText
in interfaceITmfEventAspect<Number>
- Overrides:
getHelpText
in classAbstractCounterAspect
-
getName
- Specified by:
getName
in interfaceITmfEventAspect<Number>
- Overrides:
getName
in classAbstractCounterAspect
-
isCumulative
public boolean isCumulative()
-