carta
dtk_difftime_ns(3)

dtk_difftime_ns3

Timestamp difference

Part of dtk_difftime_s(3).

Usage

const struct dtk_timespec* orig);

const struct dtk_timespec* orig);

const struct dtk_timespec* orig);

const struct dtk_timespec* orig);

Overview

These functions returns the difference of time from orig to ts.

dtk_difftime_s() returns the difference in seconds.

dtk_difftime_ms() returns the difference in milliseconds.

dtk_difftime_us() returns the difference in microseconds.

dtk_difftime_ns() returns the difference in nanoseconds.

Return value

All the functions return the difference of time.

From libdrawtk-dev 2.0-2.1 in Debian 8 (Jessie). Parsed by carta from the page's man source.