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 /test/pktmr.cpp | |
| parent | 64b319d5cc80c1bee2bb18693fa25b03e872b6de (diff) | |
pktmr: BREAKING more denominations
Diffstat (limited to 'test/pktmr.cpp')
| -rw-r--r-- | test/pktmr.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/pktmr.cpp b/test/pktmr.cpp index 899b421..0ad1910 100644 --- a/test/pktmr.cpp +++ b/test/pktmr.cpp @@ -18,8 +18,11 @@ int main(int argc, char *argv[]) { pk_tmr_start(tmr); pk_tmr_stop(tmr); - PK_LOGV_INF("%s: elapsed time (nano): %li\n", __FILE__, pk_tmr_duration_nano(tmr)); - PK_LOGV_INF("%s: elapsed time (double): %.9f\n", __FILE__, pk_tmr_duration_double(tmr)); + PK_LOGV_INF("%s: elapsed time (u64) ns: %llu\n", __FILE__, pk_tmr_duration_u64_nano(tmr)); + PK_LOGV_INF("%s: elapsed time (dbl) ns: %.9f\n", __FILE__, pk_tmr_duration_dbl_nano(tmr)); + PK_LOGV_INF("%s: elapsed time (dbl) μs: %.9f\n", __FILE__, pk_tmr_duration_dbl_micro(tmr)); + PK_LOGV_INF("%s: elapsed time (dbl) ms: %.9f\n", __FILE__, pk_tmr_duration_dbl_mili(tmr)); + PK_LOGV_INF("%s: elapsed time (dbl) s: %.9f\n", __FILE__, pk_tmr_duration_dbl_scnd(tmr)); } return 0; |
