This page was last updated: February 11, 2009
Some possibilities are (but are certainly not restricted to):
Many more are possible. Choose something that sounds especially interesting to you. Failing that, choose something that you think will be interesting to me. :-)
glFinish();
int t0 = glutGet( GLUT_ELAPSED_TIME );
<< All Graphics Calls That You Are Testing The Speed Of >>
glFinish();
int t1 = glutGet( GLUT_ELAPSED_TIME );
glutSwapBuffers();
fprintf( stderr, "One display frame took %d milliseconds\n", t1 - t0 );