Merge pull request #195 from mstorsjo/disable-cpufeature-logging

Only print detected cpu info when in debug mode
This commit is contained in:
Ethan Hugg 2014-01-23 10:13:53 -08:00
commit 9b0fb562cd

View File

@ -1966,7 +1966,7 @@ void OutputCpuFeaturesLog (uint32_t uiCpuFeatureFlags, uint32_t uiCpuCores, int3
uiCpuCores, uiCpuCores,
iCacheLineSize); iCacheLineSize);
//#ifdef _DEBUG // output at console & _debug #ifdef _DEBUG // output at console & _debug
fprintf (stderr, "WELS CPU features/capacities (0x%x) detected: \n" \ fprintf (stderr, "WELS CPU features/capacities (0x%x) detected: \n" \
"HTT: %c, " \ "HTT: %c, " \
"MMX: %c, " \ "MMX: %c, " \
@ -2009,7 +2009,7 @@ void OutputCpuFeaturesLog (uint32_t uiCpuFeatureFlags, uint32_t uiCpuCores, int3
(uiCpuFeatureFlags & WELS_CPU_AES) ? 'Y' : 'N', (uiCpuFeatureFlags & WELS_CPU_AES) ? 'Y' : 'N',
uiCpuCores, uiCpuCores,
iCacheLineSize); iCacheLineSize);
//#endif//_DEBUG #endif//_DEBUG
} }
/*! /*!