Hi Xia,

The stats information is stored in the osg::Stats object, these can be
assigned to different objects in the scene graph, such as the Viewer's
Camera.  The StatsHandler simply reads these Stats objects and creates
text and graphs for reporting onscreen.  Have a look at the
implementation of StatsHandler
(OpenSceneGaph/src/osgViewer/StatsHandler.cpp to see how the Stats are
all recorded and accessed.

Robert.

On 29 May 2015 at 17:43, Xia Baobao <[email protected]> wrote:
> Hi,
>
> Thanks to osgViewer::StatsHandler, I can see the time of update traversal, 
> cull traversal, draw and so on.
> However, I am unable to record them.
> Now I want to collect the time of update traversal and cull traversal of each 
> frame, and write them to files.
> How to?
>
> Thank you!
>
> Cheers,
> Xia
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=63884#63884
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to