Xj3D 2.0 VRML/X3D Code API

org.web3d.browser
Class AbstractProfilingInfo

java.lang.Object
  extended by org.web3d.browser.AbstractProfilingInfo
All Implemented Interfaces:
ProfilingInfo
Direct Known Subclasses:
OGLProfilingInfo

public abstract class AbstractProfilingInfo
extends java.lang.Object
implements ProfilingInfo

Timing data for profiling the performance of different rendering stages.

Version:
$Revision: 1.1 $
Author:
Rex Melton

Field Summary
 long sceneCullTime
          The time spent in the cull stage in nanoseconds
 long sceneDrawTime
          The time spent in the draw stage in nanoseconds
 long sceneRenderTime
          The total time to render the scene in nanoseconds
 long sceneSortTime
          The time spent in the sort stage in nanoseconds
 
Constructor Summary
AbstractProfilingInfo()
           
 
Method Summary
 long getSceneCullTime()
          Return the time spent in the cull stage in nanoseconds
 long getSceneDrawTime()
          Return the time spent in the draw stage in nanoseconds
 long getSceneRenderTime()
          Return the total time to render the scene in nanoseconds
 long getSceneSortTime()
          Return the time spent in the sort stage in nanoseconds
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sceneRenderTime

public long sceneRenderTime
The total time to render the scene in nanoseconds


sceneCullTime

public long sceneCullTime
The time spent in the cull stage in nanoseconds


sceneSortTime

public long sceneSortTime
The time spent in the sort stage in nanoseconds


sceneDrawTime

public long sceneDrawTime
The time spent in the draw stage in nanoseconds

Constructor Detail

AbstractProfilingInfo

public AbstractProfilingInfo()
Method Detail

getSceneRenderTime

public long getSceneRenderTime()
Return the total time to render the scene in nanoseconds

Specified by:
getSceneRenderTime in interface ProfilingInfo

getSceneCullTime

public long getSceneCullTime()
Return the time spent in the cull stage in nanoseconds

Specified by:
getSceneCullTime in interface ProfilingInfo

getSceneSortTime

public long getSceneSortTime()
Return the time spent in the sort stage in nanoseconds

Specified by:
getSceneSortTime in interface ProfilingInfo

getSceneDrawTime

public long getSceneDrawTime()
Return the time spent in the draw stage in nanoseconds

Specified by:
getSceneDrawTime in interface ProfilingInfo

Xj3D 2.0 VRML/X3D Code API

Copyright © 2001 - 2006 Web3D Consortium