Class RTimerTree


  • public class RTimerTree
    extends RTimer
    A recursive timer.

    RTimerTree's are started automatically when instantiated; sub-timers are also started automatically when created.

    • Constructor Detail

      • RTimerTree

        public RTimerTree()
    • Method Detail

      • stop

        public double stop()
        Recursively stop timer and sub timers
        Overrides:
        stop in class RTimer
      • sub

        public RTimerTree sub​(String desc)
        Returns a subtimer given its name. If the subtimer did not exist a new subtimer will be started and returned, otherwise an existing subtimer will be returned as-is.