• Advertisement
Sign in to follow this  

how do i find out the cpu speed and description ?

This topic is 2339 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts



IDXGIFactory* factory;
IDXGIAdapter* adapter;
IDXGIOutput* adapterOutput;
DXGI_ADAPTER_DESC adapterDesc;
unsigned int numModes, i, numerator, denominator, stringLength;
CreateDXGIFactory(__uuidof(IDXGIFactory), (void**)&factory);
factory->EnumAdapters(0, &adapter);
adapter->EnumOutputs(0, &adapterOutput);
adapterOutput->GetDisplayModeList(DXGI_FORMAT_R8G8B8A8_UNORM, DXGI_ENUM_MODES_INTERLACED, &numModes, NULL);
adapter->GetDesc(&adapterDesc);
int videoCardMemory = (int)(adapterDesc.DedicatedVideoMemory / 1024 / 1024);



this code gives me the name and make of my GPU , is there copd that can do it for the CPU as well please

Share this post


Link to post
Share on other sites
Advertisement
Not sure what kind of info you're looking for but you could read the child keys of

[font="Arial,"]HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor[/font]

[font="Arial,"]Or, for an API call, you could use GetSystemInfo()[/font]

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement