Home
last modified time | relevance | path

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

/Zephyr-latest/boards/native/native_posix/
Dcpu_wait.c60 uint64_t time_start; in posix_cpu_hold() local
68 time_start = hwm_get_time(); in posix_cpu_hold()
69 hwtimer_wake_in_time(time_start + to_wait); in posix_cpu_hold()
71 to_wait -= hwm_get_time() - time_start; in posix_cpu_hold()
/Zephyr-latest/boards/native/native_sim/
Dcpu_wait.c63 uint64_t time_start; in posix_cpu_hold() local
71 time_start = nsi_hws_get_time(); in posix_cpu_hold()
72 hwtimer_wake_in_time(time_start + to_wait); in posix_cpu_hold()
74 to_wait -= nsi_hws_get_time() - time_start; in posix_cpu_hold()
/Zephyr-latest/boards/native/nrf_bsim/
Dcpu_wait.c52 bs_time_t time_start; in posix_cpu_hold() local
60 time_start = nsi_hws_get_time(); in posix_cpu_hold()
61 nhw_fake_timer_wake_in_time(CONFIG_NATIVE_SIMULATOR_MCU_N, time_start + to_wait); in posix_cpu_hold()
63 to_wait -= nsi_hws_get_time() - time_start; in posix_cpu_hold()
/Zephyr-latest/subsys/pm/
Dpm_stats.c31 static uint32_t time_start[CONFIG_MP_MAX_NUM_CPUS]; variable
56 time_start[_current_cpu->id] = k_cycle_get_32(); in pm_stats_start()
67 uint32_t time_total = time_stop[cpu] - time_start[cpu]; in pm_stats_update()
/Zephyr-latest/tests/subsys/sip_svc/src/
Dmain.c23 uint64_t time_start; member
76 priv.time_start = k_cycle_get_64(); in sip_svc_send_sync_request()
83 t = k_cyc_to_us_ceil64(priv.time_end - priv.time_start); in sip_svc_send_sync_request()
160 priv.time_start = k_cycle_get_64(); in sip_svc_send_async_request()
167 t = k_cyc_to_us_ceil64(priv.time_end - priv.time_start); in sip_svc_send_async_request()
/Zephyr-latest/kernel/
Dmmu.c1222 timing_t time_start, time_end; in do_backing_store_page_in() local
1224 time_start = timing_counter_get(); in do_backing_store_page_in()
1226 uint32_t time_start; in do_backing_store_page_in() local
1228 time_start = k_cycle_get_32(); in do_backing_store_page_in()
1237 time_diff = (uint32_t)timing_cycles_get(&time_start, &time_end); in do_backing_store_page_in()
1239 time_diff = k_cycle_get_32() - time_start; in do_backing_store_page_in()
1253 timing_t time_start, time_end; in do_backing_store_page_out() local
1255 time_start = timing_counter_get(); in do_backing_store_page_out()
1257 uint32_t time_start; in do_backing_store_page_out() local
1259 time_start = k_cycle_get_32(); in do_backing_store_page_out()
[all …]