Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Offset by one millisecond
Message
From
20/09/2010 01:51:36
 
 
To
20/09/2010 01:32:28
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01481850
Message ID:
01481945
Views:
28
>>>Or add QueryPerformace-Routines into the fray...
>>
>>Can you tell me more about it?
>
>High-Resolution Timer routines. Usually used in combination woth QueryPerformanceFrecency to arrive at comparable time slices. Depending on your needs you can use either QueryPerformanceCounter as a raw value or measure time in small slices, build an index together with a date() or datetime() and a flag for "rollover happened today"... look it up in WinAPI

One thing worth mentioning - I believe HPET was introduced (in Windows) with Vista, it's not available on XP/2003 or earlier: http://en.wikipedia.org/wiki/High_Precision_Event_Timer
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform