Home
last modified time | relevance | path

Searched refs:duration_ns (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/samples/subsys/zbus/benchmark/src/
Dbenchmark.c64 uint64_t duration_ns = end_ns - start_ns; in producer_thread() local
66 if (duration_ns == 0) { in producer_thread()
70 uint64_t i = ((BYTES_TO_BE_SENT * NSEC_PER_SEC) / MB(1)) / duration_ns; in producer_thread()
71 uint64_t f = ((BYTES_TO_BE_SENT * NSEC_PER_SEC * 100) / MB(1) / duration_ns) % 100; in producer_thread()
75 LOG_INF("Duration: %llu.%09llus", duration_ns / NSEC_PER_SEC, duration_ns % NSEC_PER_SEC); in producer_thread()
77 printk("\n@%llu\n", duration_ns / 1000); in producer_thread()