Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Milliseconds
Message
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:
01656869
Vues:
85
>>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform