diff options
| author | Jonathan Bradley <jcb@pikum.xyz> | 2025-03-13 18:17:56 -0400 |
|---|---|---|
| committer | Jonathan Bradley <jcb@pikum.xyz> | 2025-03-14 15:57:00 -0400 |
| commit | 7d93b9e5a2a92f366719a9c471c6bf926915e5c0 (patch) | |
| tree | c918b18504e538da7c151116b7e9e8501dcd5b59 /pk.h.in | |
| parent | 64b319d5cc80c1bee2bb18693fa25b03e872b6de (diff) | |
pktmr: BREAKING more denominations
Diffstat (limited to 'pk.h.in')
| -rw-r--r-- | pk.h.in | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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@@" |
