Class FWRuntimeAnalytics

java.lang.Object
net.simplace.sim.util.analytics.FWRuntimeAnalytics

public class FWRuntimeAnalytics extends Object
Global registry of the runtime statistics (ProcessTime) of all components and adapters, by name.
Author:
aenders
  • Constructor Details

    • FWRuntimeAnalytics

      public FWRuntimeAnalytics()
  • Method Details

    • getProcessTime

      public static ProcessTime getProcessTime(FWSimFieldContainer aContainer)
      Parameters:
      aContainer - the component or adapter
      Returns:
      its process time, see getProcessTime(String)
    • getProcessTime

      public static ProcessTime getProcessTime(String aContainerName)
      Returns the process time of a component (by full name); it is created on the first call.
      Parameters:
      aContainerName - name of the component
      Returns:
      the process time
    • getProcessTimes

      public static Map<String, ProcessTime> getProcessTimes()
      Returns:
      all process times by name (the live map)