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>` | `getChildren()`
    `long` | `getElapsedTime()`
    `long` | `getElapsedTimeTotal()`
    `String` | `getName()`
    `<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

    - #### getName

          String getName()

      Returns:
        The name of the measured context

    - #### getElapsedTime

          long getElapsedTime()

      Returns:
        The time elapsed for this context

    - #### getElapsedTimeTotal

          long getElapsedTimeTotal()

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

    - #### getChildren

          Map<String,JCGLProfilingFrameMeasurementType> getChildren()

      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 © 2016 <code@io7m.com> http://io7m.com