Class Otf2SystemMetrics
java.lang.Object
org.eclipse.tracecompass.incubator.otf2.core.trace.Otf2SystemMetrics
A class that gets filled with the required informations to represent the
different counters that are defined in the definitions
- Author:
- Yoann Heitz
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addMetricClass
(ITmfEvent event) Adds a new metric class to the set containing the different metric classesvoid
addMetricMember
(ITmfEvent event, Map<Integer, String> stringIds) Adds a new metric member to the map containing the different metric membersConstructs the different counter aspects for this trace
-
Constructor Details
-
Otf2SystemMetrics
public Otf2SystemMetrics()
-
-
Method Details
-
addMetricMember
Adds a new metric member to the map containing the different metric members- Parameters:
event
- the event containing the definition of this new metricMemberstringIds
- the map associating the string IDs to their values for this trace
-
addMetricClass
Adds a new metric class to the set containing the different metric classes- Parameters:
event
- the event containing the definition of this new metric class
-
getCounterAspects
Constructs the different counter aspects for this trace- Returns:
- an iterator with the different counter aspects
-