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

public class Otf2SystemTree extends Object
A class that gets filled with the required information to represent the system tree (how the different clusters/nodes/processes/threads are distributed)
Author:
Yoann Heitz
  • Constructor Details

    • Otf2SystemTree

      public Otf2SystemTree()
  • Method Details

    • addSystemTreeNode

      public void addSystemTreeNode(ITmfEvent event)
      Adds a new system tree node to the system tree
      Parameters:
      event - the event defining the new system tree node
    • addLocationGroup

      public void addLocationGroup(ITmfEvent event)
      Adds a new location group to the system tree
      Parameters:
      event - the event defining the new location group
    • addLocation

      public void addLocation(ITmfEvent event)
      Adds a new location to the system tree
      Parameters:
      event - the event defining the new location
    • getSystemAspects

      public Iterator<Otf2NodeAspect> getSystemAspects(Map<Integer,String> stringIds)
      Constructs the different aspects that allows resolving the name of the cluster/node/process/thread on which an event occurs
      Parameters:
      stringIds - the map associating the string IDs to their values for this trace
      Returns:
      the different system aspects