/openbmc/linux/drivers/cpuidle/ |
H A D | poll_state.c | 16 u64 time_start; in poll_idle() local 18 time_start = local_clock_noinstr(); in poll_idle() 35 if (local_clock_noinstr() - time_start > limit) { in poll_idle()
|
H A D | cpuidle.c | 144 ktime_t time_start, time_end; in enter_s2idle_proper() local 148 time_start = ns_to_ktime(local_clock_noinstr()); in enter_s2idle_proper() 174 dev->states_usage[index].s2idle_time += ktime_us_delta(time_end, time_start); in enter_s2idle_proper() 219 ktime_t time_start, time_end; in cpuidle_enter_state() local 246 time_start = ns_to_ktime(local_clock_noinstr()); in cpuidle_enter_state() 300 diff = ktime_sub(time_end, time_start); in cpuidle_enter_state()
|
/openbmc/linux/tools/power/cpupower/utils/idle_monitor/ |
H A D | mperf_monitor.c | 36 static struct timespec *time_start, *time_end; variable 177 timediff = max_frequency * timespec_diff_us(time_start[cpu], time_end[cpu]); in mperf_get_count_percent() 210 time_diff = timespec_diff_us(time_start[cpu], time_end[cpu]); in mperf_get_count_freq() 230 clock_gettime(CLOCK_REALTIME, &time_start[cpu]); in mperf_start() 351 time_start = calloc(cpu_count, sizeof(struct timespec)); in mperf_register() 365 free(time_start); in mperf_unregister()
|
/openbmc/u-boot/drivers/net/ldpaa_eth/ |
H A D | ldpaa_eth.c | 218 u32 time_start; in ldpaa_eth_rx() local 253 time_start = get_timer(0); in ldpaa_eth_rx() 257 } while (get_timer(time_start) < timeo && err == -EBUSY); in ldpaa_eth_rx() 272 u32 time_start; in ldpaa_eth_pull_dequeue_rx() local 287 time_start = get_timer(0); in ldpaa_eth_pull_dequeue_rx() 291 } while (get_timer(time_start) < timeo && !dq); in ldpaa_eth_pull_dequeue_rx() 331 u32 time_start; in ldpaa_eth_tx() local 371 time_start = get_timer(0); in ldpaa_eth_tx() 373 while (get_timer(time_start) < timeo) { in ldpaa_eth_tx() 390 time_start = get_timer(0); in ldpaa_eth_tx() [all …]
|
/openbmc/u-boot/net/ |
H A D | tftp.c | 47 static ulong time_start; /* Record time we started tftp */ variable 298 time_start = get_timer(time_start); in tftp_complete() 299 if (time_start > 0) { in tftp_complete() 302 time_start * 1000, "/s"); in tftp_complete() 731 time_start = get_timer(0); in tftp_start()
|
H A D | net.c | 202 static ulong time_start; variable 581 time_start = get_timer(0); in net_loop() 616 ((get_timer(0) - time_start) > time_delta)) { in net_loop() 811 time_start = get_timer(0); in net_set_timeout_handler()
|
/openbmc/linux/drivers/net/ethernet/amd/pds_core/ |
H A D | adminq.c | 245 unsigned long time_start; in pdsc_adminq_post() local 264 time_start = jiffies; in pdsc_adminq_post() 265 time_limit = time_start + HZ * pdsc->devcmd_timeout; in pdsc_adminq_post() 297 __func__, jiffies_to_msecs(time_done - time_start)); in pdsc_adminq_post()
|
/openbmc/u-boot/arch/arm/mach-stm32mp/ |
H A D | pwr_regulator.c | 223 u32 time_start; in stm32mp_pwr_regulator_set_enable() local 247 time_start = get_timer(0); in stm32mp_pwr_regulator_set_enable() 254 if (get_timer(time_start) > CONFIG_SYS_HZ) { in stm32mp_pwr_regulator_set_enable()
|
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | fsl_ifc_nand.c | 262 u32 time_start; in fsl_ifc_run_command() local 274 time_start = get_timer(0); in fsl_ifc_run_command() 276 while (get_timer(time_start) < timeo) { in fsl_ifc_run_command() 807 u32 time_start; in fsl_ifc_sram_init() local 814 time_start = get_timer(0); in fsl_ifc_sram_init() 815 while (get_timer(time_start) < timeo) { in fsl_ifc_sram_init() 858 time_start = get_timer(0); in fsl_ifc_sram_init() 860 while (get_timer(time_start) < timeo) { in fsl_ifc_sram_init()
|
H A D | mxs_nand_spl.c | 18 u32 timeo, time_start; in mxs_nand_command() local 45 time_start = get_timer(0); in mxs_nand_command() 46 while (get_timer(time_start) < timeo) { in mxs_nand_command()
|
H A D | sunxi_nand.c | 319 u32 time_start, status; in sunxi_nfc_wait_int() local 327 time_start = get_timer(0); in sunxi_nfc_wait_int() 337 } while (get_timer(time_start) < timeout_ticks); in sunxi_nfc_wait_int() 348 u32 time_start; in sunxi_nfc_wait_cmd_fifo_empty() local 350 time_start = get_timer(0); in sunxi_nfc_wait_cmd_fifo_empty() 354 } while (get_timer(time_start) < timeout); in sunxi_nfc_wait_cmd_fifo_empty() 364 u32 time_start; in sunxi_nfc_rst() local 369 time_start = get_timer(0); in sunxi_nfc_rst() 373 } while (get_timer(time_start) < timeout); in sunxi_nfc_rst()
|
H A D | fsl_elbc_nand.c | 201 u32 time_start; in fsl_elbc_run_command() local 220 time_start = get_timer(0); in fsl_elbc_run_command() 223 while (get_timer(time_start) < timeo) { in fsl_elbc_run_command()
|
H A D | nand_base.c | 552 u32 time_start; in nand_wait_ready() local 554 time_start = get_timer(0); in nand_wait_ready() 556 while (get_timer(time_start) < timeo) { in nand_wait_ready() 577 u32 time_start; in nand_wait_status_ready() local 580 time_start = get_timer(0); in nand_wait_status_ready() 581 while (get_timer(time_start) < timeo) { in nand_wait_status_ready() 884 u32 time_start; in nand_wait() local 886 time_start = get_timer(0); in nand_wait() 887 while (get_timer(time_start) < timer) { in nand_wait()
|
/openbmc/linux/tools/testing/selftests/kvm/ |
H A D | max_guest_memory_test.c | 169 struct timespec time_start, time_run1, time_reset, time_run2; in main() local 262 rendezvous_with_vcpus(&time_start, "spawning"); in main() 269 time_run1 = timespec_sub(time_run1, time_start); in main()
|
/openbmc/linux/drivers/vfio/pci/pds/ |
H A D | cmds.c | 101 unsigned long time_start; in pds_vfio_suspend_wait_device_cmd() local 105 time_start = jiffies; in pds_vfio_suspend_wait_device_cmd() 106 time_limit = time_start + HZ * SUSPEND_TIMEOUT_S; in pds_vfio_suspend_wait_device_cmd() 117 pds_vfio->vf_id, jiffies_to_msecs(time_done - time_start)); in pds_vfio_suspend_wait_device_cmd()
|
/openbmc/linux/tools/perf/util/bpf_skel/ |
H A D | kwork_trace.bpf.c | 117 __u64 time_start, __u64 time_end) in do_update_time() argument 120 __s64 delta = time_end - time_start; in do_update_time() 137 data->max_time_start = time_start; in do_update_time()
|
/openbmc/linux/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_main.c | 365 unsigned long time_start; in ionic_adminq_wait() local 380 time_start = jiffies; in ionic_adminq_wait() 381 time_limit = time_start + HZ * (ulong)DEVCMD_TIMEOUT; in ionic_adminq_wait() 406 __func__, jiffies_to_msecs(time_done - time_start)); in ionic_adminq_wait()
|
/openbmc/linux/drivers/base/power/ |
H A D | domain.c | 547 ktime_t time_start; in _genpd_power_on() local 571 time_start = ktime_get(); in _genpd_power_on() 576 elapsed_ns = ktime_to_ns(ktime_sub(ktime_get(), time_start)); in _genpd_power_on() 598 ktime_t time_start; in _genpd_power_off() local 622 time_start = ktime_get(); in _genpd_power_off() 627 elapsed_ns = ktime_to_ns(ktime_sub(ktime_get(), time_start)); in _genpd_power_off() 936 ktime_t time_start = 0; in genpd_runtime_suspend() local 958 time_start = ktime_get(); in genpd_runtime_suspend() 972 elapsed_ns = ktime_to_ns(ktime_sub(ktime_get(), time_start)); in genpd_runtime_suspend() 1011 ktime_t time_start = 0; in genpd_runtime_resume() local [all …]
|
/openbmc/u-boot/drivers/usb/host/ |
H A D | sl811-hcd.c | 218 int err = 0, time_start = get_timer(0); in sl811_send_packet() local 248 if (5*CONFIG_SYS_HZ < get_timer(time_start)) { in sl811_send_packet()
|
/openbmc/linux/net/bpf/ |
H A D | test_run.c | 33 u64 time_start, time_spent; member 45 t->time_start = ktime_get_ns(); in bpf_test_timer_enter() 51 t->time_start = 0; in bpf_test_timer_leave() 67 t->time_spent += ktime_get_ns() - t->time_start; in bpf_test_timer_continue() 82 t->time_spent += ktime_get_ns() - t->time_start; in bpf_test_timer_continue()
|
/openbmc/u-boot/drivers/i2c/ |
H A D | stm32f7_i2c.c | 323 u32 time_start = get_timer(0); in stm32_i2c_wait_flags() local 327 if (get_timer(time_start) > CONFIG_SYS_HZ) { in stm32_i2c_wait_flags()
|
/openbmc/linux/tools/perf/ |
H A D | builtin-stat.c | 571 static void compute_tts(struct timespec *time_start, struct timespec *time_stop, in compute_tts() argument 577 diff_timespec(&time_diff, time_stop, time_start); in compute_tts() 592 struct timespec time_start, time_stop; in dispatch_events() local 612 clock_gettime(CLOCK_MONOTONIC, &time_start); in dispatch_events() 620 compute_tts(&time_start, &time_stop, &time_to_sleep); in dispatch_events()
|
/openbmc/linux/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_connect.sh | 11 time_start=$(date +%s) 871 time_run=$((time_end-time_start))
|
/openbmc/u-boot/drivers/mtd/onenand/ |
H A D | onenand_base.c | 476 u32 time_start = get_timer(0); in onenand_wait() local 479 if (get_timer(time_start) > timeo) in onenand_wait() 1168 u32 time_start = get_timer(0); in onenand_bbt_wait() local 1171 if (get_timer(time_start) > timeo) in onenand_bbt_wait()
|
/openbmc/linux/fs/nfs/ |
H A D | inode.c | 530 nfsi->read_cache_jiffies = fattr->time_start; in nfs_fhget() 1554 nfsi->read_cache_jiffies = fattr->time_start; in nfs_check_inode_attributes() 1574 fattr->time_start = jiffies; in nfs_fattr_init() 2130 nfsi->read_cache_jiffies = fattr->time_start; in nfs_update_inode()
|