Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: Recall: More precise than a second...


Message #1 by "John R Lick - Hotmail" <JohnRLick@h...> on Tue, 26 Mar 2002 12:06:59 -0800
John,

API function QueryPerformanceCounter is more precise, you might check
it out



JRLH> I found it.

JRLH> If anyone is interested:
JRLH> You have to make a Win32 API call

JRLH> Declare Function GetTickCounter Lib "kernel32" () as long

JRLH> Usage:
JRLH> dim myTicks as long

JRLH> myTicks = GetTickCounter


JRLH> John Lick
JRLH> Sr. Software Developer
JRLH> JohnRLick@h...


JRLH> ----- Original Message -----
JRLH> From: "John R Lick - Hotmail" <JohnRLick@h...>
JRLH> To: "professional vb" <pro_vb@p...>
JRLH> Sent: Tuesday, March 26, 2002 9:05 AM
JRLH> Subject: [pro_vb] More precise than a second...


>> I am working on finding bottlenecks in a solution, and need to get timings
>> that are more precise than one second. Can someone suggest how to get
JRLH> ticks,
>> or any other precise timing count?
>>
>> Thank you,
>>
>>
>> John Lick
>> Sr. Software Developer
>> JohnRLick@h...
>>
>>
>>
>>

JRLH> ---
JRLH> 
JRLH> 



-- 

 Janeks                            mailto:janexx@k...


  Return to Index