Added CPU cache line size to the test output.
authorSam Lantinga <slouken@libsdl.org>
Thu, 27 Jan 2011 20:49:07 -0800
changeset 512187f452305db4
parent 5120 b3f075368b1f
child 5122 0ec550f04bbc
Added CPU cache line size to the test output.
test/testplatform.c
     1.1 --- a/test/testplatform.c	Thu Jan 27 20:46:45 2011 -0800
     1.2 +++ b/test/testplatform.c	Thu Jan 27 20:49:07 2011 -0800
     1.3 @@ -140,6 +140,7 @@
     1.4  {
     1.5      if (verbose) {
     1.6          printf("CPU count: %d\n", SDL_GetCPUCount());
     1.7 +	printf("CPU cache line size: %d\n", SDL_GetCPUCacheLineCount());
     1.8          printf("RDTSC %s\n", SDL_HasRDTSC()? "detected" : "not detected");
     1.9          printf("MMX %s\n", SDL_HasMMX()? "detected" : "not detected");
    1.10          printf("MMX Ext %s\n", SDL_HasMMXExt()? "detected" : "not detected");