Home
last modified time | relevance | path

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

/Zephyr-latest/samples/subsys/zbus/benchmark/src/
Dbenchmark.c16 #define GET_ARCH_TIME_NS() (native_rtc_gettime_us(RTC_CLOCK_PSEUDOHOSTREALTIME) * NSEC_PER_USEC) macro
20 #define GET_ARCH_TIME_NS() (k_cyc_to_ns_near64(sys_clock_cycle_get_32())) macro
55 uint64_t start_ns = GET_ARCH_TIME_NS(); in producer_thread()
62 uint64_t end_ns = GET_ARCH_TIME_NS(); in producer_thread()