Click here to Skip to main content
14,879,719 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: AMD or Intel Pin
Richard MacCutchan23-Oct-19 0:52
mveRichard MacCutchan23-Oct-19 0:52 
GeneralRe: AMD or Intel Pin
_Flaviu23-Oct-19 1:28
Member_Flaviu23-Oct-19 1:28 
GeneralRe: AMD or Intel Pin
Richard MacCutchan23-Oct-19 1:31
mveRichard MacCutchan23-Oct-19 1:31 
GeneralRe: AMD or Intel Pin
_Flaviu23-Oct-19 1:51
Member_Flaviu23-Oct-19 1:51 
GeneralRe: AMD or Intel Pin
Richard MacCutchan23-Oct-19 2:22
mveRichard MacCutchan23-Oct-19 2:22 
GeneralRe: AMD or Intel Pin
_Flaviu23-Oct-19 2:33
Member_Flaviu23-Oct-19 2:33 
GeneralRe: AMD or Intel Pin
Richard MacCutchan23-Oct-19 4:42
mveRichard MacCutchan23-Oct-19 4:42 
GeneralRe: AMD or Intel Pin
_Flaviu23-Oct-19 6:53
Member_Flaviu23-Oct-19 6:53 
Richard, I am sorry if I was evasive ... Thank you for your patience.

I am working on some code which execute some depending of what kind of processor:

BOOL bIsIntel = FALSE;
SYSTEM_INFO si;
GetSystemInfo(&si);
bIsIntel = (si.wProcessorArchitecture == xxx);
if(bIsIntel)
{
    // execute some code (I cannot write here what kind of code)
}
else
{
    // execute else code
}

Furthermore, the code is critical as speed of execution. So, I noticed that GetSystemInfo is taking a time, specially on older machines. So, I intend to retrieve from registry if the machine is AMD or Intel. That is all. I am not hiding anything. If I omitting anything, please tell me, and I will write here.

P.S. I don't have any AMD machine, or my colleagues ... if I would, I had tested myself.
GeneralRe: AMD or Intel Pin
Richard MacCutchan23-Oct-19 20:45
mveRichard MacCutchan23-Oct-19 20:45 
SuggestionRe: AMD or Intel Pin
David Crow24-Oct-19 15:26
MemberDavid Crow24-Oct-19 15:26 
GeneralRe: AMD or Intel Pin
_Flaviu24-Oct-19 19:58
Member_Flaviu24-Oct-19 19:58 
QuestionRe: AMD or Intel Pin
David Crow23-Oct-19 2:16
MemberDavid Crow23-Oct-19 2:16 
AnswerRe: AMD or Intel Pin
_Flaviu23-Oct-19 2:35
Member_Flaviu23-Oct-19 2:35 
GeneralRe: AMD or Intel Pin
harold aptroot23-Oct-19 5:48
Memberharold aptroot23-Oct-19 5:48 
AnswerRe: AMD or Intel Pin
Daniel Pfeffer23-Oct-19 21:55
professionalDaniel Pfeffer23-Oct-19 21:55 
GeneralRe: AMD or Intel Pin
_Flaviu23-Oct-19 23:27
Member_Flaviu23-Oct-19 23:27 
Questionc++ Pin
Resul Sebili21-Oct-19 11:03
MemberResul Sebili21-Oct-19 11:03 
AnswerRe: c++ Pin
k505421-Oct-19 11:18
mvek505421-Oct-19 11:18 
AnswerRe: c++ Pin
CPallini21-Oct-19 21:44
mveCPallini21-Oct-19 21:44 
AnswerRe: c++ Pin
Richard MacCutchan21-Oct-19 22:39
mveRichard MacCutchan21-Oct-19 22:39 
AnswerRe: c++ Pin
David Crow22-Oct-19 2:01
MemberDavid Crow22-Oct-19 2:01 
Questionc++ enum Pin
Fotsing16-Oct-19 1:40
MemberFotsing16-Oct-19 1:40 
AnswerRe: c++ enum Pin
CPallini16-Oct-19 2:22
mveCPallini16-Oct-19 2:22 
QuestionCCombobox MFC vc++ Pin
Member 1457555611-Oct-19 1:46
MemberMember 1457555611-Oct-19 1:46 
AnswerRe: CCombobox MFC vc++ Pin
Victor Nijegorodov11-Oct-19 2:50
MemberVictor Nijegorodov11-Oct-19 2:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.