<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style="font-family: Calibri, Arial, Verdana, sans-serif; font-size: 12pt;"><div>If intentionally vague then that fact should be included in the description along with the reason!<br></div><br><div style="" class="zmail_extra"><br><div id="Zm-_Id_-Sgn1">---- On Fri, 06 Sep 2019 10:06:24 -0400 <b>Tomas Hajny <XHajT03@hajny.biz></b> wrote ----<br></div><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); padding-left: 6px; margin: 0px 0px 0px 5px;"><div>On 2019-09-03 15:27, Paulo Costa wrote:<br>> While consulting the online reference about gettickcount<br>> <a target="_blank" href="https://www.freepascal.org/docs-html/rtl/sysutils/gettickcount64.html">https://www.freepascal.org/docs-html/rtl/sysutils/gettickcount64.html</a><br>> I could not know anything about the units involved.<br>> <br>> It says "It is useful for time measurements, but no assumtions should<br>> be made as to the interval between the ticks."<br>> <br>> I understand that in some cases the measure may deviate from the real<br>> value but perhaps, at least the units, should be stated.<br><br>The documentation is vague on purpose - due to the variety of platforms <br>supported by FPC and the low-level nature of GetTickCount, we do not <br>want to guarantee specific units (GetTickCount is supposed to be <br>supported directly by the platform rather than having an additional RTL <br>layer possibly unifying differences in platform behaviour on top of it).<br></div></blockquote></div><div><br></div></div><br></body></html>