Class Otf2SystemMetrics

java.lang.Object
org.eclipse.tracecompass.incubator.otf2.core.trace.Otf2SystemMetrics

public class Otf2SystemMetrics extends Object
A class that gets filled with the required informations to represent the different counters that are defined in the definitions
Author:
Yoann Heitz
  • Constructor Details

    • Otf2SystemMetrics

      public Otf2SystemMetrics()
  • Method Details

    • addMetricMember

      public void addMetricMember(ITmfEvent event, Map<Integer,String> stringIds)
      Adds a new metric member to the map containing the different metric members
      Parameters:
      event - the event containing the definition of this new metricMember
      stringIds - the map associating the string IDs to their values for this trace
    • addMetricClass

      public void addMetricClass(ITmfEvent event)
      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

      public Iterator<Otf2CounterAspect> getCounterAspects()
      Constructs the different counter aspects for this trace
      Returns:
      an iterator with the different counter aspects