public interface JCGLProfilingContextType
| Modifier and Type | Method and Description |
|---|---|
JCGLProfilingContextType |
getChildContext(String name)
Create or return an existing child context with the given name.
|
String |
getName() |
JCGLTimerQueryUsableType |
getTimer()
Create a new timer, or return the existing timer if this method has already
been called previously on this context.
|
JCGLTimersType |
getTimers() |
boolean |
hasTimer() |
boolean |
isEnabled() |
default void |
startMeasuringIfEnabled()
Start measuring the time if profiling is enabled.
|
default void |
stopMeasuringIfEnabled()
Stop measuring the time if profiling is enabled.
|
String getName()
JCGLProfilingFrameType.getChildContext(String),
getChildContext(String)JCGLTimerQueryUsableType getTimer()
JCGLProfilingContextType getChildContext(String name)
name - The name of the child contextboolean isEnabled()
true iff profiling is enabledJCGLProfilingType.setEnabled(boolean),
JCGLProfilingType.isEnabled()JCGLTimersType getTimers()
boolean hasTimer()
true iff getTimer() has ever been called for this
contextdefault void startMeasuringIfEnabled()
default void stopMeasuringIfEnabled()
Copyright © 2016 <code@io7m.com> http://io7m.com