Click here to Skip to main content
15,895,011 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Alternative for TIMERs in MFC?? Pin
Kiran Satish6-May-08 6:49
Kiran Satish6-May-08 6:49 
AnswerRe: Alternative for TIMERs in MFC?? Pin
toxcct6-May-08 6:25
toxcct6-May-08 6:25 
GeneralRe: Alternative for TIMERs in MFC?? Pin
Kiran Satish6-May-08 6:52
Kiran Satish6-May-08 6:52 
GeneralRe: Alternative for TIMERs in MFC?? Pin
toxcct6-May-08 6:54
toxcct6-May-08 6:54 
GeneralRe: Alternative for TIMERs in MFC?? Pin
Kiran Satish6-May-08 6:59
Kiran Satish6-May-08 6:59 
GeneralRe: Alternative for TIMERs in MFC?? Pin
JudyL_MD7-May-08 3:07
JudyL_MD7-May-08 3:07 
GeneralRe: Alternative for TIMERs in MFC?? Pin
Kiran Satish7-May-08 4:59
Kiran Satish7-May-08 4:59 
AnswerRe: Alternative for TIMERs in MFC?? Pin
Jeremy Thornton6-May-08 15:15
Jeremy Thornton6-May-08 15:15 
from MSDN article: How To Use QueryPerformanceCounter to Time Code


Function Units Resolution
---------------------------------------------------------------------------
Now, Time, Timer seconds 1 second
GetTickCount milliseconds approx. 10 ms
TimeGetTime milliseconds approx. 10 ms
QueryPerformanceCounter QueryPerformanceFrequency same

not so much in MFC but Win32 perhaps? your best resolution is probably 10ms

NB multicore breaks simple RDTSC approaches you may read about

my old article on timing: http://www.codeproject.com/KB/cpp/precision_timer.aspx[^]
QuestionDetermining if an drang'n'drop event is active Pin
tibiz6-May-08 5:20
tibiz6-May-08 5:20 
QuestionCopy files with out using SHFileOperation Pin
itsh116-May-08 5:11
itsh116-May-08 5:11 
AnswerRe: Copy files with out using SHFileOperation Pin
Rajkumar R6-May-08 5:29
Rajkumar R6-May-08 5:29 
GeneralRe: Copy files with out using SHFileOperation Pin
itsh116-May-08 5:47
itsh116-May-08 5:47 
GeneralRe: Copy files with out using SHFileOperation Pin
David Crow6-May-08 6:01
David Crow6-May-08 6:01 
QuestionRe: Copy files with out using SHFileOperation Pin
David Crow6-May-08 6:00
David Crow6-May-08 6:00 
QuestionSetFilePointer Pin
john56326-May-08 3:16
john56326-May-08 3:16 
AnswerRe: SetFilePointer Pin
CPallini6-May-08 3:23
mveCPallini6-May-08 3:23 
QuestionCList::RemoveAt Pin
piul6-May-08 2:09
piul6-May-08 2:09 
AnswerRe: CList::RemoveAt Pin
Nelek6-May-08 2:17
protectorNelek6-May-08 2:17 
AnswerRe: CList::RemoveAt Pin
toxcct6-May-08 2:18
toxcct6-May-08 2:18 
AnswerRe: CList::RemoveAt Pin
Rajesh R Subramanian6-May-08 2:19
professionalRajesh R Subramanian6-May-08 2:19 
GeneralOT Pin
CPallini6-May-08 2:25
mveCPallini6-May-08 2:25 
JokeRe: OT Pin
Nelek6-May-08 2:27
protectorNelek6-May-08 2:27 
GeneralRe: OT Pin
CPallini6-May-08 2:31
mveCPallini6-May-08 2:31 
GeneralRe: OT Pin
Rajesh R Subramanian6-May-08 2:32
professionalRajesh R Subramanian6-May-08 2:32 
GeneralRe: OT Pin
CPallini6-May-08 2:38
mveCPallini6-May-08 2:38 

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.