diff test/testplatform.c @ 5123:87f452305db4

Added CPU cache line size to the test output.
author Sam Lantinga <slouken@libsdl.org>
date Thu, 27 Jan 2011 20:49:07 -0800
parents 8e5186a99af4
children 0ec550f04bbc
line wrap: on
line diff
--- a/test/testplatform.c	Thu Jan 27 20:46:45 2011 -0800
+++ b/test/testplatform.c	Thu Jan 27 20:49:07 2011 -0800
@@ -140,6 +140,7 @@
 {
     if (verbose) {
         printf("CPU count: %d\n", SDL_GetCPUCount());
+	printf("CPU cache line size: %d\n", SDL_GetCPUCacheLineCount());
         printf("RDTSC %s\n", SDL_HasRDTSC()? "detected" : "not detected");
         printf("MMX %s\n", SDL_HasMMX()? "detected" : "not detected");
         printf("MMX Ext %s\n", SDL_HasMMXExt()? "detected" : "not detected");