Home
last modified time | relevance | path

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

/Zephyr-latest/tests/drivers/disk/disk_performance/src/
Dmain.c118 uint64_t time_ns; in ZTEST() local
125 time_ns = read_helper(1); in ZTEST()
128 ((SECTOR_SIZE * (NSEC_PER_SEC / time_ns))) / 1024); in ZTEST()
131 time_ns = read_helper(SEQ_BLOCK_COUNT); in ZTEST()
135 ((BUF_SIZE) * (NSEC_PER_SEC / time_ns)) / 1024); in ZTEST()
181 uint64_t time_ns; in ZTEST() local
188 time_ns = write_helper(1); in ZTEST()
191 ((SECTOR_SIZE * (NSEC_PER_SEC / time_ns))) / 1024); in ZTEST()
194 time_ns = write_helper(SEQ_BLOCK_COUNT); in ZTEST()
198 ((BUF_SIZE) * (NSEC_PER_SEC / time_ns)) / 1024); in ZTEST()
/Zephyr-latest/tests/kernel/mem_protect/demand_paging/mem_map/src/
Dmain.c408 uint64_t time_ns; in print_histogram() local
416 time_ns = timing_cycles_to_ns(hist->bounds[idx]); in print_histogram()
418 time_ns = k_cyc_to_ns_ceil64(hist->bounds[idx]); in print_histogram()
420 printk(" <= %llu ns (%lu cycles): %lu\n", time_ns, in print_histogram()