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
step
- the application-level step that's about to beginpublic void appSubStep(java.lang.String... additionalInfo)
AppProfiler
appSubStep
in interface AppProfiler
additionalInfo
- information about the substeppublic void vpStep(VpStep step, ViewPort vp, RenderQueue.Bucket bucket)
AppProfiler
vpStep
in interface AppProfiler
step
- the ViewPort-level step that's about to beginvp
- which ViewPort is being processedbucket
- which Bucket is being processedpublic void spStep(SpStep step, java.lang.String... additionalInfo)
AppProfiler
spStep
in interface AppProfiler
step
- the SceneProcessor step that's about to beginadditionalInfo
- information about the SceneProcessor steppublic java.util.Map<java.lang.String,DetailedProfiler.StatLine> getStats()
public double getAverageFrameTime()
public void setRenderer(Renderer renderer)