public class DetailedProfiler extends java.lang.Object implements AppProfiler
Modifier and Type | Class and Description |
---|---|
static class |
DetailedProfiler.StatLine |
Constructor and Description |
---|
DetailedProfiler() |
Modifier and Type | Method and Description |
---|---|
void |
appStep(AppStep step)
Called at the beginning of the specified AppStep.
|
void |
appSubStep(java.lang.String... additionalInfo)
Called as a substep of the previous AppStep
|
double |
getAverageFrameTime() |
java.util.Map<java.lang.String,DetailedProfiler.StatLine> |
getStats() |
void |
setRenderer(Renderer renderer) |
void |
spStep(SpStep step,
java.lang.String... additionalInfo)
Called at the beginning of the specified SpStep (SceneProcessor step).
|
void |
vpStep(VpStep step,
ViewPort vp,
RenderQueue.Bucket bucket)
Called at the beginning of the specified VpStep during
the rendering of the specified ViewPort.
|
public void appStep(AppStep step)
AppProfiler
appStep
in interface AppProfiler
public void appSubStep(java.lang.String... additionalInfo)
AppProfiler
appSubStep
in interface AppProfiler
public void vpStep(VpStep step, ViewPort vp, RenderQueue.Bucket bucket)
AppProfiler
vpStep
in interface AppProfiler
public void spStep(SpStep step, java.lang.String... additionalInfo)
AppProfiler
spStep
in interface AppProfiler
public java.util.Map<java.lang.String,DetailedProfiler.StatLine> getStats()
public double getAverageFrameTime()
public void setRenderer(Renderer renderer)