Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Milliseconds
Message
De
01/01/2018 13:37:45
 
 
À
01/01/2018 13:29:08
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:
01656868
Vues:
820
>>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 ;-)

Thank you,

I will check the Declaration you provided. As for the Coverage Profiler, I use often to validate the code coverage. The timing portion can be helpful, but does not provide real-time numbers.
Greg Reichert
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform