From 7d93b9e5a2a92f366719a9c471c6bf926915e5c0 Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Thu, 13 Mar 2025 18:17:56 -0400 Subject: pktmr: BREAKING more denominations --- pk.h.in | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'pk.h.in') diff --git a/pk.h.in b/pk.h.in index ddc897e..db5a720 100644 --- a/pk.h.in +++ b/pk.h.in @@ -175,6 +175,15 @@ * * Offers a set of `pk_tmr*` macros for elapsed time checking. * +* The following definitions (shown with defaults) can be overridden: +* PK_TMR_CLOCK CLOCK_MONOTONIC +* +* If your needs require you to use more than one clock, I recommend calling +* `clock_gettime` manually instead of calling `pk_tmr_start`/`pk_tmr_stop`. +* `pk_tmr.b` is the start time. +* `pk_tmr.e` end the end time. +* You could then call the `pk_tmr_duration...` convenience macros as needed. +* *******************************************************************************/ #define PK_VERSION "@@PK_VERSION@@" -- cgit v1.2.3