Click here to Skip to main content
16,016,022 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Returning a value from a Worker Thread Pin
DavidR_r12-Jun-05 9:38
DavidR_r12-Jun-05 9:38 
GeneralRe: Returning a value from a Worker Thread Pin
Steve Messer12-Jun-05 10:29
Steve Messer12-Jun-05 10:29 
GeneralRe: Returning a value from a Worker Thread Pin
Tom Archer12-Jun-05 13:44
Tom Archer12-Jun-05 13:44 
GeneralRe: Returning a value from a Worker Thread Pin
Steve Messer12-Jun-05 16:38
Steve Messer12-Jun-05 16:38 
GeneralRe: Returning a value from a Worker Thread Pin
Tom Archer12-Jun-05 18:20
Tom Archer12-Jun-05 18:20 
Generalimage processing Pin
prabhathgk12-Jun-05 7:51
prabhathgk12-Jun-05 7:51 
GeneralRe: image processing Pin
DavidR_r12-Jun-05 9:41
DavidR_r12-Jun-05 9:41 
GeneralDelta time in mSec Pin
Ravi Bhavnani12-Jun-05 6:48
professionalRavi Bhavnani12-Jun-05 6:48 
I need to calculate the (approx) elapsed time between 2 function calls in mSec. MS recommends getting the times in SYSTEMTIMEs, converting them to FILETIMEs, copying them to ULARGE_INTEGERs and computing their difference. All this seems to work fine. But the MS docs don't indicate the resolution of the difference between the two ULARGE_INTEGERs. Frown | :(

In an experiment, the time taken to execute AfxSocketInit() (i.e. the difference of the low part DWORDs) was 10000. As one would expect, introducing artificial delays caused the delta to increase. But what units am I measuring?

Thanks for any insight.

/ravi

My new year's resolution: 2048 x 1536
Home | Articles | Freeware | Music
ravib@ravib.com

GeneralSolved! Pin
Ravi Bhavnani12-Jun-05 7:34
professionalRavi Bhavnani12-Jun-05 7:34 
GeneralAre function calls that costly? Need help optimizing Pin
Budric B.12-Jun-05 6:32
Budric B.12-Jun-05 6:32 
GeneralRe: Are function calls that costly? Need help optimizing Pin
liquid_12-Jun-05 7:35
liquid_12-Jun-05 7:35 
GeneralRe: Are function calls that costly? Need help optimizing Pin
Budric B.12-Jun-05 7:52
Budric B.12-Jun-05 7:52 
GeneralRe: Are function calls that costly? Need help optimizing Pin
squidev12-Jun-05 7:44
squidev12-Jun-05 7:44 
GeneralRe: Are function calls that costly? Need help optimizing Pin
Tom Archer12-Jun-05 13:50
Tom Archer12-Jun-05 13:50 
GeneralRe: Are function calls that costly? Need help optimizing Pin
PJ Arends12-Jun-05 17:35
professionalPJ Arends12-Jun-05 17:35 
GeneralRe: Are function calls that costly? Need help optimizing Pin
Budric B.13-Jun-05 4:09
Budric B.13-Jun-05 4:09 
GeneralCapturing Sound Pin
Identity Undisclosed12-Jun-05 6:18
Identity Undisclosed12-Jun-05 6:18 
QuestionHow to remove the close button correctly in a rebar control? Pin
Dani10000112-Jun-05 5:08
Dani10000112-Jun-05 5:08 
QuestionWin32: IsDialog(HWND)? Pin
peterchen11-Jun-05 23:33
peterchen11-Jun-05 23:33 
AnswerRe: Win32: IsDialog(HWND)? Pin
Jack Puppy12-Jun-05 0:16
Jack Puppy12-Jun-05 0:16 
GeneralRe: Win32: IsDialog(HWND)? Pin
Jörgen Sigvardsson12-Jun-05 2:57
Jörgen Sigvardsson12-Jun-05 2:57 
GeneralRe: Win32: IsDialog(HWND)? Pin
peterchen12-Jun-05 3:49
peterchen12-Jun-05 3:49 
GeneralRe: Win32: IsDialog(HWND)? Pin
Jörgen Sigvardsson12-Jun-05 5:21
Jörgen Sigvardsson12-Jun-05 5:21 
GeneralRe: Win32: IsDialog(HWND)? Pin
Jack Puppy12-Jun-05 4:22
Jack Puppy12-Jun-05 4:22 
GeneralRe: Win32: IsDialog(HWND)? Pin
Jörgen Sigvardsson12-Jun-05 5:23
Jörgen Sigvardsson12-Jun-05 5:23 

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.