Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Milliseconds
Message
De
01/01/2018 13:29:08
 
 
À
01/01/2018 12:50:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Divers
Thread ID:
01656863
Message ID:
01656866
Vues:
101
>I am sure this has been addressed before. But I would appreciate some quick help.
>
>I am performing some performance testing and have discovered that the Seconds() function may not be actuate. I discovered a UDF based on the SYS(2015), but I question its return. I would like to use the WinAPI GetTickCount(), but it only returns True, no tick count.
>
>Any other suggestions?

Search for docs for the high perf functions if GetTickCount() is to coarse
(which is between 5 and 40ms AFAIR on NT based systems)

declare long QueryPerformanceCounter in kernel32.dll ;
string @lpCount

declare long QueryPerformanceFrequency in kernel32.dll ;
long @lpFrequency

if you need the resolution they probably used in coverage profiler ;-)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform