FreeRDP
TestCPUFeatures.c File Reference
#include <winpr/crt.h>
#include <winpr/sysinfo.h>
#include <winpr/platform.h>

Macros

#define TEST_FEATURE(feature)   printf("\t" #feature ": %s\n", IsProcessorFeaturePresent(feature) ? "yes" : "no")
 
#define TEST_FEATURE_EX(feature)   printf("\t" #feature ": %s\n", IsProcessorFeaturePresentEx(feature) ? "yes" : "no")
 

Functions

int TestCPUFeatures (int argc, char *argv[])
 

Macro Definition Documentation

◆ TEST_FEATURE

#define TEST_FEATURE (   feature)    printf("\t" #feature ": %s\n", IsProcessorFeaturePresent(feature) ? "yes" : "no")

◆ TEST_FEATURE_EX

#define TEST_FEATURE_EX (   feature)    printf("\t" #feature ": %s\n", IsProcessorFeaturePresentEx(feature) ? "yes" : "no")

Function Documentation

◆ TestCPUFeatures()

int TestCPUFeatures ( int  argc,
char *  argv[] 
)