/Zephyr-Core-3.7.0/tests/subsys/portability/cmsis_rtos_v1/src/ |
D | kernel_apis.c | 57 uint32_t start_time, stop_time, diff, max, min; in ZTEST() local 59 start_time = osKernelSysTick(); in ZTEST() 64 start_time) / NSEC_PER_USEC; in ZTEST() 71 start_time, stop_time, diff, WAIT_TIME_US); in ZTEST()
|
/Zephyr-Core-3.7.0/tests/drivers/disk/disk_performance/src/ |
D | main.c | 89 timing_t start_time, end_time; in read_helper() local 98 start_time = timing_counter_get(); in read_helper() 107 cycles = timing_cycles_get(&start_time, &end_time); in read_helper() 142 timing_t start_time, end_time; in write_helper() local 158 start_time = timing_counter_get(); in write_helper() 166 cycles = timing_cycles_get(&start_time, &end_time); in write_helper() 203 timing_t start_time, end_time; in ZTEST() local 223 start_time = timing_counter_get(); in ZTEST() 233 cycles = timing_cycles_get(&start_time, &end_time); in ZTEST() 247 timing_t start_time, end_time; in ZTEST() local [all …]
|
/Zephyr-Core-3.7.0/subsys/net/ip/ |
D | net_stats.h | 350 uint32_t start_time, in net_stats_update_tx_time() argument 353 uint32_t diff = end_time - start_time; in net_stats_update_tx_time() 360 #define net_stats_update_tx_time(iface, start_time, end_time) argument 383 uint32_t start_time, in net_stats_update_rx_time() argument 386 uint32_t diff = end_time - start_time; in net_stats_update_rx_time() 393 #define net_stats_update_rx_time(iface, start_time, end_time) argument 437 uint32_t start_time, in net_stats_update_tc_tx_time() argument 440 uint32_t diff = end_time - start_time; in net_stats_update_tc_tx_time() 447 net_stats_update_tx_time(iface, start_time, end_time); in net_stats_update_tc_tx_time() 450 #define net_stats_update_tc_tx_time(iface, tc, start_time, end_time) argument [all …]
|
/Zephyr-Core-3.7.0/tests/kernel/lifo/lifo_usage/src/ |
D | main.c | 108 static bool is_timeout_in_range(uint32_t start_time, uint32_t timeout) in is_timeout_in_range() argument 113 diff = k_cyc_to_ms_floor32(stop_time - start_time); in is_timeout_in_range() 272 uint32_t start_time, timeout; in ZTEST() local 276 start_time = k_cycle_get_32(); in ZTEST() 282 zassert_true(is_timeout_in_range(start_time, timeout)); in ZTEST() 319 uint32_t start_time, timeout; in ZTEST() local 326 start_time = k_cycle_get_32(); in ZTEST() 335 zassert_true(is_timeout_in_range(start_time, timeout)); in ZTEST() 401 uint32_t start_time; in test_thread_pend_and_timeout() local 404 start_time = k_cycle_get_32(); in test_thread_pend_and_timeout() [all …]
|
/Zephyr-Core-3.7.0/tests/kernel/fifo/fifo_timeout/src/ |
D | main.c | 101 static bool is_timeout_in_range(uint32_t start_time, uint32_t timeout) in is_timeout_in_range() argument 107 start_time) / NSEC_PER_USEC; in is_timeout_in_range() 125 uint32_t start_time; in test_thread_pend_and_timeout() local 130 start_time = k_cycle_get_32(); in test_thread_pend_and_timeout() 133 zassert_true(is_timeout_in_range(start_time, d->timeout)); in test_thread_pend_and_timeout() 303 uint32_t start_time, timeout; in ZTEST() local 309 start_time = k_cycle_get_32(); in ZTEST() 312 zassert_true(is_timeout_in_range(start_time, timeout)); in ZTEST() 356 uint32_t start_time, timeout; in ZTEST() local 365 start_time = k_cycle_get_32(); in ZTEST() [all …]
|
/Zephyr-Core-3.7.0/tests/kernel/early_sleep/src/ |
D | main.c | 57 uint32_t start_time; in ticks_to_sleep() local 60 start_time = k_cycle_get_32(); in ticks_to_sleep() 64 return (stop_time - start_time) / k_ticks_to_cyc_floor32(1); in ticks_to_sleep()
|
/Zephyr-Core-3.7.0/include/zephyr/drivers/misc/timeaware_gpio/ |
D | timeaware_gpio.h | 56 int (*set_perout)(const struct device *dev, uint32_t pin, uint64_t start_time, 152 uint64_t start_time, uint64_t repeat_interval, 156 uint64_t start_time, uint64_t repeat_interval, in z_impl_tgpio_pin_periodic_output() argument 161 return api->set_perout(dev, pin, start_time, repeat_interval, periodic_enable); in z_impl_tgpio_pin_periodic_output()
|
/Zephyr-Core-3.7.0/tests/boards/native_sim/rtc/src/ |
D | main.c | 53 uint64_t end_time, start_time; in ZTEST() local 74 start_time = get_host_us_time(); in ZTEST() 91 diff = end_time - start_time; in ZTEST() 135 start_time += WAIT_TIME * 1000 / acc_ratio; in ZTEST()
|
/Zephyr-Core-3.7.0/samples/arch/smp/pi/src/ |
D | main.c | 82 uint32_t start_time, stop_time, cycles_spent, nanoseconds_spent; in main() local 89 start_time = k_cycle_get_32(); in main() 106 cycles_spent = stop_time - start_time; in main()
|
/Zephyr-Core-3.7.0/tests/drivers/clock_control/nrf_onoff_and_bt/src/ |
D | main.c | 98 uint64_t start_time = k_uptime_get(); in ZTEST() local 130 elapsed = k_uptime_get() - start_time; in ZTEST() 186 uint64_t start_time = k_uptime_get(); in ZTEST() local 215 elapsed = k_uptime_get() - start_time; in ZTEST()
|
/Zephyr-Core-3.7.0/drivers/flash/ |
D | flash_shell.c | 336 uint64_t start_time; in cmd_read_test() local 352 start_time = k_uptime_get(); in cmd_read_test() 354 loop_time = k_uptime_delta(&start_time); in cmd_read_test() 380 uint64_t start_time; in cmd_write_test() local 400 start_time = k_uptime_get(); in cmd_write_test() 402 loop_time = k_uptime_delta(&start_time); in cmd_write_test() 428 uint64_t start_time; in cmd_erase_test() local 448 start_time = k_uptime_get(); in cmd_erase_test() 450 loop_time = k_uptime_delta(&start_time); in cmd_erase_test() 477 uint64_t start_time; in cmd_erase_write_test() local [all …]
|
/Zephyr-Core-3.7.0/drivers/misc/timeaware_gpio/ |
D | timeaware_gpio_handlers.c | 28 uint64_t start_time, uint64_t repeat_interval, in z_vrfy_tgpio_pin_periodic_output() argument 32 return z_impl_tgpio_pin_periodic_output((const struct device *)port, pin, start_time, in z_vrfy_tgpio_pin_periodic_output()
|
D | timeaware_gpio_intel.c | 101 uint64_t start_time, in tgpio_intel_periodic_output() argument 122 val = (start_time >> UINT32_SIZE) & UINT32_MASK; in tgpio_intel_periodic_output() 124 val = start_time & UINT32_MASK; in tgpio_intel_periodic_output()
|
/Zephyr-Core-3.7.0/subsys/net/lib/zperf/ |
D | zperf_udp_uploader.c | 152 int64_t start_time, end_time; in udp_upload() local 169 start_time = k_uptime_ticks(); in udp_upload() 170 last_loop_time = start_time; in udp_upload() 171 end_time = start_time + k_ms_to_ticks_ceil64(duration_in_ms); in udp_upload() 175 print_time = start_time + print_period; in udp_upload() 279 k_ticks_to_us_ceil64(end_time - start_time); in udp_upload()
|
D | zperf_tcp_uploader.c | 45 int64_t start_time, end_time; in tcp_upload() local 57 start_time = k_uptime_ticks(); in tcp_upload() 105 k_ticks_to_us_ceil64(end_time - start_time); in tcp_upload()
|
D | zperf_session.h | 48 int64_t start_time; member
|
/Zephyr-Core-3.7.0/doc/kernel/timing_functions/ |
D | index.rst | 58 timing_t start_time, end_time; 65 start_time = timing_counter_get(); 71 total_cycles = timing_cycles_get(&start_time, &end_time);
|
/Zephyr-Core-3.7.0/tests/drivers/watchdog/wdt_basic_reset_none/src/ |
D | main.c | 82 uint64_t start_time = k_uptime_ticks(); in test_wdt_callback_reset_none() local 85 if (k_uptime_ticks() - start_time >= timeout.ticks) { in test_wdt_callback_reset_none()
|
/Zephyr-Core-3.7.0/samples/arch/smp/pktqueue/src/ |
D | main.c | 157 uint32_t start_time, stop_time, cycles_spent, nanoseconds_spent; in main() local 174 start_time = k_cycle_get_32(); in main() 189 cycles_spent = stop_time - start_time; in main()
|
/Zephyr-Core-3.7.0/tests/subsys/canbus/isotp/conformance/src/ |
D | main.c | 754 uint32_t start_time, time_diff; in ZTEST() local 760 start_time = k_uptime_get_32(); in ZTEST() 763 time_diff = k_uptime_get_32() - start_time; in ZTEST() 780 start_time = k_uptime_get_32(); in ZTEST() 784 time_diff = k_uptime_get_32() - start_time; in ZTEST() 801 start_time = k_uptime_get_32(); in ZTEST() 804 time_diff = k_uptime_get_32() - start_time; in ZTEST() 812 uint32_t start_time, time_diff; in ZTEST() local 825 start_time = k_uptime_get_32(); in ZTEST() 834 time_diff = k_uptime_get_32() - start_time; in ZTEST() [all …]
|
/Zephyr-Core-3.7.0/drivers/timer/ |
D | arcv2_timer0.c | 66 volatile static uint64_t start_time; variable 383 return z_arc_connect_gfrc_read() - start_time; in sys_clock_cycle_get_32() 428 start_time = last_time; in sys_clock_driver_init()
|
/Zephyr-Core-3.7.0/tests/lib/lockfree/src/ |
D | test_mpsc.c | 206 timing_t start_time, end_time; in ZTEST() local 212 start_time = timing_counter_get(); in ZTEST() 226 uint64_t cycles = timing_cycles_get(&start_time, &end_time); in ZTEST()
|
D | test_spsc.c | 235 timing_t start_time, end_time; in ZTEST() local 240 start_time = timing_counter_get(); in ZTEST() 259 uint64_t cycles = timing_cycles_get(&start_time, &end_time); in ZTEST()
|
/Zephyr-Core-3.7.0/drivers/can/ |
D | can_stm32_bxcan.c | 330 uint32_t start_time; in can_stm32_enter_init_mode() local 333 start_time = k_cycle_get_32(); in can_stm32_enter_init_mode() 336 if (k_cycle_get_32() - start_time > CAN_INIT_TIMEOUT) { in can_stm32_enter_init_mode() 347 uint32_t start_time; in can_stm32_leave_init_mode() local 350 start_time = k_cycle_get_32(); in can_stm32_leave_init_mode() 353 if (k_cycle_get_32() - start_time > CAN_INIT_TIMEOUT) { in can_stm32_leave_init_mode() 363 uint32_t start_time; in can_stm32_leave_sleep_mode() local 366 start_time = k_cycle_get_32(); in can_stm32_leave_sleep_mode() 369 if (k_cycle_get_32() - start_time > CAN_INIT_TIMEOUT) { in can_stm32_leave_sleep_mode() 715 int64_t start_time; in can_stm32_recover() local [all …]
|
/Zephyr-Core-3.7.0/scripts/pylib/twister/twisterlib/ |
D | twister_main.py | 66 start_time = time.time() 179 duration = time.time() - start_time 205 duration = time.time() - start_time
|