Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Offset by one millisecond
Message
De
20/09/2010 02:18:07
 
 
À
20/09/2010 01:51:36
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:
01481948
Vues:
16
>>>>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

QueryPerformanceCounter/Frequency existed in W2K (would bet on it...) and AFAOR already NT. Should be well above anything needed for any disk based logging. Newer API's available via DotNet StopWatch ?

my 0.03 EUR

thomas
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform