diff options
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; |
