char buffer[0x2A] ; ulong start, stop ; while(1) { flipScreen() ; clrScr() ; start = GpTickCountGet() ; // blit 1000 sprites stop = GpTickCountGet() ; sprintf(buffer,"time %i",stop-start) ; GpTextOut(NULL, &gpDraw[nflip],10,10,buffer,0xB3); };