changeset 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 b3f075368b1f
children 0ec550f04bbc
files test/testplatform.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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");