[fpc-pascal] Very vague gettickcount64 description?
Michael Van Canneyt
michael at freepascal.org
Sun Sep 8 18:48:13 CEST 2019
On Sun, 8 Sep 2019, Martok wrote:
> Am 08.09.2019 um 13:17 schrieb Yuriy Sydorov:
>> Sure, measurements using GetTickCount is not precise (+-20ms on Windows).
> On any reasonably recent kernel, it has 16ms granularity and even before that
> was always guaranteed to be a monotonically incrementing (except for the
> rollover) number of milliseconds.
> You would assume that `a physicist by education` is aware of the difference
> between precision, resolution, granularity, and the concept of units...
I am aware of these differences. The question was about the definition of
GetTickCount. We can differ in opinion as to how it should be defined,
unless we declare it to be an exact implementation of the description
in the Microsoft documentation (which it explicitly is not on other platforms).
All arguments for adding a unit to the description relied on using
it as a precision time measurement instrument: I merely remarked this
has its limitations given the limited precision of gettickcount.
If you're going to be insulting and personal, you might consider
unsubscribing yourself from the mailing list: this is a technical
discussion mailing list, not a tabloid where such things are permissible.
Likewise, words like 'fuckall' are normally not considered suitable
in technical discussions. Again, this is not a tabloid.
More information about the fpc-pascal