Hi
> > I am making a routine for measuring the framerate in an opensg application
> > .
> > For that I needed to have a time-measuring tool which can measure the time
> > precisely .
> >
> > Does someone know any libraries/function/class for this .
> > Also if someone has earlier done anything like that I will be glad if he
> > can help me .
>
> depends a little bit on your operating system ;-), for windows there is
> getPerfCounter and getPerfCounterFreq found in OSGTime.h which should be
> pretty ok. If you need a different OS please let me know and I see if I
> can add it.
I'm a little surprised that this functionality isn't part of the core
OSG library since timings should be one of the first things in comparing
OSG to other scenegraphs.
BTW. Isn't the StatisticForeground doing some measurements as well?
How does this work?
Manfred.
======================================================================
Manfred Weiler [EMAIL PROTECTED]
Visualisierung und Interaktive Systeme Telefon: 0711/7816-208
Universitaet Stuttgart, IfI FAX: 0711/7816-340
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users