comparison test/testblitspeed.c @ 2735:204be4fc2726

Final merge of Google Summer of Code 2008 work... Port SDL 1.3 to the Nintendo DS by Darren Alton, mentored by Sam Lantinga
author Sam Lantinga <slouken@libsdl.org>
date Wed, 27 Aug 2008 15:10:03 +0000
parents c785543d1843
children
comparison
equal deleted inserted replaced
2734:dd25eabe441c 2735:204be4fc2726
395 SDL_Flip(dest); /* show it! */ 395 SDL_Flip(dest); /* show it! */
396 SDL_FillRect(dest, NULL, clearColor); /* blank it for next time! */ 396 SDL_FillRect(dest, NULL, clearColor); /* blank it for next time! */
397 } 397 }
398 398
399 now = SDL_GetTicks(); 399 now = SDL_GetTicks();
400 } 400 } while (now < end);
401 while (now < end);
402 401
403 printf("Non-blitting crap accounted for %d percent of this run.\n", 402 printf("Non-blitting crap accounted for %d percent of this run.\n",
404 percent(testms - elasped, testms)); 403 percent(testms - elasped, testms));
405 404
406 printf("%d blits took %d ms (%d fps).\n", 405 printf("%d blits took %d ms (%d fps).\n",