Click here to Skip to main content
15,890,690 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: AMD or Intel Pin
_Flaviu23-Oct-19 1:28
_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
_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
_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
_Flaviu23-Oct-19 6:53 
GeneralRe: AMD or Intel Pin
Richard MacCutchan23-Oct-19 20:45
mveRichard MacCutchan23-Oct-19 20:45 
_Flaviu wrote:
I noticed that GetSystemInfo is taking a time
That is most likely because it has to go to the registry to get the information. You have placed that code in the wrong place. It should be called once at the beginning of the program to set a global or class variable that can then be tested at processor speed.

However, the chances of you being able to adjust the speed of your code at the point you show is not very likely. The compiler will optimise any code as much as possible, and whichever processor executes that code will further optimise it through the use of its own pipelining mechanism. Your time would be better spent working on real problems.
SuggestionRe: AMD or Intel Pin
David Crow24-Oct-19 15:26
David Crow24-Oct-19 15:26 
GeneralRe: AMD or Intel Pin
_Flaviu24-Oct-19 19:58
_Flaviu24-Oct-19 19:58 
QuestionRe: AMD or Intel Pin
David Crow23-Oct-19 2:16
David Crow23-Oct-19 2:16 
AnswerRe: AMD or Intel Pin
_Flaviu23-Oct-19 2:35
_Flaviu23-Oct-19 2:35 
GeneralRe: AMD or Intel Pin
harold aptroot23-Oct-19 5:48
harold 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
_Flaviu23-Oct-19 23:27 
Questionc++ Pin
Resul Sebili21-Oct-19 11:03
Resul 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
David Crow22-Oct-19 2:01 
Questionc++ enum Pin
Fotsing16-Oct-19 1:40
Fotsing16-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
Member 1457555611-Oct-19 1:46 
AnswerRe: CCombobox MFC vc++ Pin
Victor Nijegorodov11-Oct-19 2:50
Victor Nijegorodov11-Oct-19 2:50 
GeneralRe: CCombobox MFC vc++ Pin
Member 1457555611-Oct-19 3:39
Member 1457555611-Oct-19 3:39 

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.