[fpc-pascal] question about FpTimes in BaseUnix package

Henry Vermaak henry.vermaak at gmail.com
Wed Nov 18 11:26:02 CET 2009

2009/11/17 Rainer Stratmann <RainerStratmann at t-online.de>:
> Am Tuesday 17 November 2009 19:34:19 schrieb Bruce Bauman:
>> I am using the FpTimes function from the BaseUnix package. The
>> documentation says it returns -1 on an error, otherwise the number of
>> clock ticks since boot time.
> What does clock ticks exactly mean?
> I am searching for an equivalent to getticks in windows.

If you want to measure uptime, then you need to use sysinfo.  The
resolution is seconds, though.


More information about the fpc-pascal mailing list