com.io7m.jcanephora.profiler

## Interface JCGLProfilingFrameMeasurementType

-     public interface JCGLProfilingFrameMeasurementType

  The measured time for a frame in a given context.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Map<String,JCGLProfilingFrameMeasurementType>` | `children()`
    `String` | `contextName()`
    `long` | `elapsedTime()`
    `long` | `elapsedTimeTotal()`
    `<A,E extends Exception> void` | `iterate(A context, JCGLProfilingFrameMeasurementProcedureType<A,E> proc)` Iterate over this and all children of this context in depth-first order.

- - ### Method Detail

    - #### contextName

          String contextName()

      Returns:
        The name of the measured context

    - #### elapsedTime

          long elapsedTime()

      Returns:
        The time elapsed for this context

    - #### elapsedTimeTotal

          long elapsedTimeTotal()

      Returns:
        The time elapsed for this context, plus any children it may have

    - #### children

          Map<String,JCGLProfilingFrameMeasurementType> children()

      Returns:
        The children for this context

    - #### iterate

          <A,E extends Exception> void iterate(A context,
                                               JCGLProfilingFrameMeasurementProcedureType<A,E> proc)
                                        throws E extends Exception

      Iterate over this and all children of this context in depth-first order.
      Type Parameters:
        `A` - The type of contextual values
        `E` - The type of raised exceptions
      Parameters:
        `context` - A contextual value
        `proc` - A procedure that will receive each context
      Throws:
        `E` - Iff `proc` raises `E`
        `E extends Exception`

Copyright © 2017 <code@io7m.com> http://io7m.com