Navigation Menu

Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Added CPU cache line size to the test output.
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jan 28, 2011
1 parent f22f044 commit ca7a53f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/testplatform.c
Expand Up @@ -140,6 +140,7 @@ TestCPUInfo(SDL_bool verbose)
{
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");
Expand Down

0 comments on commit ca7a53f

Please sign in to comment.