Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/external/mpp/mpp/base/test/
H A Dmpp_task_test.c196 RK_S64 time_start, time_end; in main() local
217 time_start = mpp_time(); in main()
226 mpp_time_diff(time_start, time_end, 0, "3 thread test"); in main()
228 time_start = mpp_time(); in main()
235 mpp_time_diff(time_start, time_end, 0, "2 thread test"); in main()
238 time_start = mpp_time(); in main()
241 mpp_time_diff(time_start, time_end, 0, "1 thread test"); in main()
H A Dmpp_meta_test.c31 RK_S64 time_start; in meta_test() local
42 time_start = mpp_time(); in meta_test()
119 *((RK_S64 *)param) = (time_end - time_start) / loop_max; in meta_test()
/OK3568_Linux_fs/external/mpp/osal/test/
H A Dmpp_thread_test.c141 RK_S64 time_start, time_end; in main() local
159 time_start = mpp_time(); in main()
165 mpp_time_diff(time_start, time_end, 0, "lock unlock test"); in main()
176 time_start = mpp_time(); in main()
184 mpp_time_diff(time_start, time_end, 0, "lock and signal test"); in main()
/OK3568_Linux_fs/u-boot/drivers/net/ldpaa_eth/
H A Dldpaa_eth.c208 u32 time_start; in ldpaa_eth_rx() local
243 time_start = get_timer(0); in ldpaa_eth_rx()
247 } while (get_timer(time_start) < timeo && err == -EBUSY); in ldpaa_eth_rx()
262 u32 time_start; in ldpaa_eth_pull_dequeue_rx() local
277 time_start = get_timer(0); in ldpaa_eth_pull_dequeue_rx()
281 } while (get_timer(time_start) < timeo && !dq); in ldpaa_eth_pull_dequeue_rx()
321 u32 time_start; in ldpaa_eth_tx() local
361 time_start = get_timer(0); in ldpaa_eth_tx()
363 while (get_timer(time_start) < timeo) { in ldpaa_eth_tx()
380 time_start = get_timer(0); in ldpaa_eth_tx()
[all …]
/OK3568_Linux_fs/kernel/drivers/cpuidle/
H A Dcpuidle.c141 ktime_t time_start, time_end; in enter_s2idle_proper() local
144 time_start = ns_to_ktime(local_clock()); in enter_s2idle_proper()
165 dev->states_usage[index].s2idle_time += ktime_us_delta(time_end, time_start); in enter_s2idle_proper()
208 ktime_t time_start, time_end; in cpuidle_enter_state() local
244 time_start = ns_to_ktime(local_clock()); in cpuidle_enter_state()
281 diff = ktime_sub(time_end, time_start); in cpuidle_enter_state()
H A Dpoll_state.c16 u64 time_start = local_clock(); in poll_idle() local
33 if (local_clock() - time_start > limit) { in poll_idle()
/OK3568_Linux_fs/kernel/tools/power/cpupower/utils/idle_monitor/
H A Dmperf_monitor.c36 static struct timespec time_start, time_end; variable
177 timediff = max_frequency * timespec_diff_us(time_start, time_end); in mperf_get_count_percent()
210 time_diff = timespec_diff_us(time_start, time_end); in mperf_get_count_freq()
230 clock_gettime(CLOCK_REALTIME, &time_start); in mperf_start()
/OK3568_Linux_fs/u-boot/net/
H A Dtftp.c45 static ulong time_start; /* Record time we started tftp */ variable
318 time_start = get_timer(time_start); in tftp_complete()
319 if (time_start > 0) { in tftp_complete()
322 time_start * 1000, "/s"); in tftp_complete()
813 time_start = get_timer(0); in tftp_start()
H A Dnet.c198 static ulong time_start; variable
554 time_start = get_timer(0); in net_loop()
589 ((get_timer(0) - time_start) > time_delta)) { in net_loop()
782 time_start = get_timer(0); in net_set_timeout_handler()
/OK3568_Linux_fs/u-boot/drivers/mtd/nand/raw/
H A Dfsl_ifc_nand.c263 u32 time_start; in fsl_ifc_run_command() local
275 time_start = get_timer(0); in fsl_ifc_run_command()
277 while (get_timer(time_start) < timeo) { in fsl_ifc_run_command()
808 u32 time_start; in fsl_ifc_sram_init() local
815 time_start = get_timer(0); in fsl_ifc_sram_init()
816 while (get_timer(time_start) < timeo) { in fsl_ifc_sram_init()
859 time_start = get_timer(0); in fsl_ifc_sram_init()
861 while (get_timer(time_start) < timeo) { in fsl_ifc_sram_init()
H A Dmxs_nand_spl.c19 u32 timeo, time_start; in mxs_nand_command() local
46 time_start = get_timer(0); in mxs_nand_command()
47 while (get_timer(time_start) < timeo) { in mxs_nand_command()
H A Dsunxi_nand.c320 u32 time_start, status; in sunxi_nfc_wait_int() local
328 time_start = get_timer(0); in sunxi_nfc_wait_int()
338 } while (get_timer(time_start) < timeout_ticks); in sunxi_nfc_wait_int()
349 u32 time_start; in sunxi_nfc_wait_cmd_fifo_empty() local
351 time_start = get_timer(0); in sunxi_nfc_wait_cmd_fifo_empty()
355 } while (get_timer(time_start) < timeout); in sunxi_nfc_wait_cmd_fifo_empty()
365 u32 time_start; in sunxi_nfc_rst() local
370 time_start = get_timer(0); in sunxi_nfc_rst()
374 } while (get_timer(time_start) < timeout); in sunxi_nfc_rst()
H A Dfsl_elbc_nand.c202 u32 time_start; in fsl_elbc_run_command() local
221 time_start = get_timer(0); in fsl_elbc_run_command()
224 while (get_timer(time_start) < timeo) { in fsl_elbc_run_command()
H A Dnand_base.c557 u32 time_start; in nand_wait_ready() local
559 time_start = get_timer(0); in nand_wait_ready()
561 while (get_timer(time_start) < timeo) { in nand_wait_ready()
582 u32 time_start; in nand_wait_status_ready() local
586 time_start = get_timer(0); in nand_wait_status_ready()
587 while (get_timer(time_start) < timeo) { in nand_wait_status_ready()
907 u32 time_start; in nand_wait() local
909 time_start = get_timer(0); in nand_wait()
910 while (get_timer(time_start) < timer) { in nand_wait()
/OK3568_Linux_fs/kernel/drivers/base/power/
H A Ddomain.c461 ktime_t time_start; in _genpd_power_on() local
484 time_start = ktime_get(); in _genpd_power_on()
489 elapsed_ns = ktime_to_ns(ktime_sub(ktime_get(), time_start)); in _genpd_power_on()
510 ktime_t time_start; in _genpd_power_off() local
533 time_start = ktime_get(); in _genpd_power_off()
538 elapsed_ns = ktime_to_ns(ktime_sub(ktime_get(), time_start)); in _genpd_power_off()
837 ktime_t time_start; in genpd_runtime_suspend() local
858 time_start = 0; in genpd_runtime_suspend()
860 time_start = ktime_get(); in genpd_runtime_suspend()
874 elapsed_ns = ktime_to_ns(ktime_sub(ktime_get(), time_start)); in genpd_runtime_suspend()
[all …]
/OK3568_Linux_fs/kernel/net/bpf/
H A Dtest_run.c24 u64 time_start, time_spent; member
36 t->time_start = ktime_get_ns(); in bpf_test_timer_enter()
42 t->time_start = 0; in bpf_test_timer_leave()
57 t->time_spent += ktime_get_ns() - t->time_start; in bpf_test_timer_continue()
72 t->time_spent += ktime_get_ns() - t->time_start; in bpf_test_timer_continue()
/OK3568_Linux_fs/external/mpp/mpp/base/
H A Dmpp_cluster.cpp472 RK_S64 time_start; in cluster_worker_run_task() local
483 time_start = mpp_time(); in cluster_worker_run_task()
488 proc->run_time += time_end - time_start; in cluster_worker_run_task()
/OK3568_Linux_fs/u-boot/drivers/usb/host/
H A Dsl811-hcd.c219 int err = 0, time_start = get_timer(0); in sl811_send_packet() local
249 if (5*CONFIG_SYS_HZ < get_timer(time_start)) { in sl811_send_packet()
/OK3568_Linux_fs/kernel/tools/perf/
H A Dbuiltin-stat.c599 static void compute_tts(struct timespec *time_start, struct timespec *time_stop, in compute_tts() argument
605 diff_timespec(&time_diff, time_stop, time_start); in compute_tts()
620 struct timespec time_start, time_stop; in dispatch_events() local
640 clock_gettime(CLOCK_MONOTONIC, &time_start); in dispatch_events()
648 compute_tts(&time_start, &time_stop, &time_to_sleep); in dispatch_events()
/OK3568_Linux_fs/buildroot/boot/lpc32xxcdl/
H A Dlpc32xxcdl-2.11-delete_redundant_files.patch18 - * time_start
112 - * Function: time_start
128 -void time_start(void)
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/
H A Dgslx6801.c446 struct timeval time_start, time_end; in gsl_adjust_freq() local
490 do_gettimeofday(&time_start); in gsl_adjust_freq()
504 real_time = ((time_end.tv_sec - time_start.tv_sec) * 10000 + in gsl_adjust_freq()
505 (time_end.tv_usec - time_start.tv_usec) / 100); in gsl_adjust_freq()
/OK3568_Linux_fs/kernel/tools/testing/selftests/net/mptcp/
H A Dmptcp_connect.sh4 time_start=$(date +%s)
689 time_run=$((time_end-time_start))
/OK3568_Linux_fs/u-boot/drivers/i2c/
H A Dstm32f7_i2c.c326 u32 time_start = get_timer(0); in stm32_i2c_wait_flags() local
330 if (get_timer(time_start) > CONFIG_SYS_HZ) { in stm32_i2c_wait_flags()
/OK3568_Linux_fs/kernel/fs/nfs/
H A Dinode.c530 nfsi->read_cache_jiffies = fattr->time_start; in nfs_fhget()
1511 nfsi->read_cache_jiffies = fattr->time_start; in nfs_check_inode_attributes()
1531 fattr->time_start = jiffies; in nfs_fattr_init()
1896 nfsi->read_cache_jiffies = fattr->time_start; in nfs_update_inode()
/OK3568_Linux_fs/u-boot/drivers/mtd/onenand/
H A Donenand_base.c476 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()

12