Interface TimedOperation

  • All Superinterfaces:
    java.lang.AutoCloseable

    public interface TimedOperation
    extends java.lang.AutoCloseable
    Describes a timed operation. It's AutoCloseable, for ease of use.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void close()
      Stops tracking if not already stopped.
      void close​(int extraDataCounter)
      Stops tracking if not already stopped.
    • Method Detail

      • close

        void close()
        Stops tracking if not already stopped.
        Specified by:
        close in interface java.lang.AutoCloseable
      • close

        void close​(int extraDataCounter)
        Stops tracking if not already stopped.
        Parameters:
        extraDataCounter - An optional additional data counter to track along the measurements. Users are free to track any extra value they want (ie: number of analyzed nodes, iterations in a loop, etc.)