Skip to content

Speedi13/CPUID

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

CPUID

Information that is available in this struct is

  • General information
    • HighestFunctionParameter
    • HighestExtendedFunctionParameter
    • ManufacturerID
    • ProcessorNameStringIdentifier

Code usage

CpuInfo Information = CpuInfo();
printf("ManufacturerID: [%s]\n",                     Information.ManufacturerID);
printf("ProcessorNameStringIdentifier: [%s]\n",      Information.ProcessorNameStringIdentifier);
printf("      Conditional Moves supported:    %u\n", Information.FeatureInformation.CMOV );
printf("[AMD] Conditional Moves supported:    %u\n", Information.AMDFeatureExtendedInformation.CMOV );
printf("      AES instruction set supported:  %u\n", Information.FeatureInformation.AES );
printf("      Intel SHA extensions supported: %u\n", Information.FeatureExtendedInformation.SHA );
printf("      On-chip RNG supported:          %u\n", Information.FeatureInformation.RDRND );

About

MSVC CPU Information struct

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages