Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Milliseconds
Message
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:
01656869
Views:
82
>>>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?
>>
>>May be bad declaration.
>>
>>
>>DECLARE LONG GetTickCount IN WIN32API
>>?GetTickCount()
>>
>>
>>MartinaJ
>
>By the way, just how long is a Tick? milliseconds.

https://msdn.microsoft.com/en-us/library/windows/desktop/ms724408(v=vs.85).aspx

The resolution of the GetTickCount function is limited to the resolution of the system timer, which is typically in the range of 10 milliseconds to 16 milliseconds. The resolution of the GetTickCount function is not affected by adjustments made by the GetSystemTimeAdjustment function.

MartinaJ
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Previous
Reply
Map
View

Click here to load this message in the networking platform