On Mon, Jul 13, 2020 at 05:41:05PM +0200, Disruptive Solutions wrote: > Is there a millis() equivalent? Where the system timer (milliseconds) is > kept solid in the back? Where you can obtain "passed system time"... > without delay interventions from threads etc?
Is this what you mean?
#include <time.h>
...
struct timespec tp;
clock_gettime(CLOCK_MONOTONIC, &tp);
...
--
B.Walter <[email protected]> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.
