Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Milliseconds
Message
From
01/01/2018 13:29:08
 
 
To
01/01/2018 12:50:55
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Miscellaneous
Thread ID:
01656863
Message ID:
01656866
Views:
100
>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 ;-)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform