Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Offset by one millisecond
Message
De
20/09/2010 01:51:36
 
 
À
20/09/2010 01:32:28
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01481850
Message ID:
01481945
Vues:
27
>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform