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)
AppProfilerappStep in interface AppProfilerstep - the application-level step that's about to beginpublic void appSubStep(java.lang.String... additionalInfo)
AppProfilerappSubStep in interface AppProfileradditionalInfo - information about the substeppublic void vpStep(VpStep step, ViewPort vp, RenderQueue.Bucket bucket)
AppProfilervpStep in interface AppProfilerstep - 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)
AppProfilerspStep in interface AppProfilerstep - 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)