> 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.
There is also a OSG::getSystemTime() that works on all platforms. Andreas -- +++ NEU bei GMX und erstmalig in Deutschland: TÜV-geprüfter Virenschutz +++ 100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz ------------------------------------------------------- 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
