Re: FPS



On Wed, Jun 13, 2001 at 04:00:37PM +0530, Anil Kumar P - Roll No.98002 wrote:

      How many Frames per Second can i acheive using gdk_rgb.
You can achieve as many `Stack Frames per Second' as you wich, even
without using gdk_rgb. This simple funciton will help you:

int Get_SFpS() {
        return Get_SFpS();
}


int main ()
{
        return Get_SFpS();
}


How to use it -- compile, and run, count it's work time, and look for
number of stack frames in core file (using GDB), and divide latter on
former. If you'll use integer numbers, and your computer is fast, you
may even get worktime == 0, thus achieving INFINITE FPS.

Isn't is great ??


-- 
WbR





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]