On Tue, 1 Apr 2014, Mattias Gaertner wrote:

On Tue, 01 Apr 2014 12:20:53 +0200
Luca Olivetti <[email protected]> wrote:

[...]
function GetTickCount64: QWord;
var
  tp: timespec;
begin
  clock_gettime(CLOCK_MONOTONIC, @tp);
  Result := (Int64(tp.tv_sec) * 1000) + (tp.tv_nsec div 1000000);
end;
[...]

Thanks. GetTickCount64 now uses it on Linux.

The implementation in Sysutils now does so too, and uses a fallback using 
gettimeofday.

Michael.

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to