/Linux-v4.19/samples/bpf/ |
D | map_perf_test_user.c | 83 __u64 start_time; in test_hash_prealloc() local 86 start_time = time_get_ns(); in test_hash_prealloc() 90 cpu, max_cnt * 1000000000ll / (time_get_ns() - start_time)); in test_hash_prealloc() 125 __u64 start_time; in do_test_lru() local 184 start_time = time_get_ns(); in do_test_lru() 196 max_cnt * 1000000000ll / (time_get_ns() - start_time)); in do_test_lru() 221 __u64 start_time; in test_percpu_hash_prealloc() local 224 start_time = time_get_ns(); in test_percpu_hash_prealloc() 228 cpu, max_cnt * 1000000000ll / (time_get_ns() - start_time)); in test_percpu_hash_prealloc() 233 __u64 start_time; in test_hash_kmalloc() local [all …]
|
D | test_overhead_user.c | 38 __u64 start_time; in test_task_rename() local 47 start_time = time_get_ns(); in test_task_rename() 56 cpu, MAX_CNT * 1000000000ll / (time_get_ns() - start_time)); in test_task_rename() 62 __u64 start_time; in test_urandom_read() local 71 start_time = time_get_ns(); in test_urandom_read() 80 cpu, MAX_CNT * 1000000000ll / (time_get_ns() - start_time)); in test_urandom_read()
|
D | trace_output_user.c | 36 static __u64 start_time; variable 58 MAX_CNT * 1000000000ll / (time_get_ns() - start_time)); in print_bpf_output() 102 start_time = time_get_ns(); in main()
|
/Linux-v4.19/tools/perf/ |
D | builtin-timechart.c | 97 u64 start_time; member 111 u64 start_time; member 144 u64 start_time; member 163 u64 start_time; member 179 u64 start_time; member 253 p->start_time = timestamp; in pid_fork() 254 if (p->current && !p->current->start_time) { in pid_fork() 255 p->current->start_time = timestamp; in pid_fork() 289 sample->start_time = start; in pid_put_sample() 302 if (c->start_time == 0 || c->start_time > start) in pid_put_sample() [all …]
|
/Linux-v4.19/tools/testing/selftests/timers/ |
D | alarmtimer-suspend.c | 54 struct timespec start_time; variable 105 delta_ns = timespec_sub(start_time, ts); in sigalarm() 150 clock_gettime(alarm_clock_id, &start_time); in main() 152 start_time.tv_sec, start_time.tv_nsec); in main() 154 its1.it_value = start_time; in main()
|
D | set-timer-lat.c | 54 struct timespec start_time; variable 105 delta_ns = timespec_sub(start_time, ts); in sigalarm() 153 clock_gettime(clock_id, &start_time); in setup_timer() 155 its1.it_value = start_time; in setup_timer()
|
/Linux-v4.19/include/net/ |
D | busy_poll.h | 54 bool sk_busy_loop_end(void *p, unsigned long start_time); 83 static inline bool busy_loop_timeout(unsigned long start_time) in busy_loop_timeout() argument 89 unsigned long end_time = start_time + bp_usec; in busy_loop_timeout() 99 unsigned long start_time) in sk_busy_loop_timeout() argument 105 unsigned long end_time = start_time + bp_usec; in sk_busy_loop_timeout()
|
/Linux-v4.19/drivers/media/pci/cobalt/ |
D | cobalt-i2c.c | 111 unsigned long start_time; in cobalt_tx_bytes() local 138 start_time = jiffies; in cobalt_tx_bytes() 141 if (time_after(jiffies, start_time + adap->timeout)) in cobalt_tx_bytes() 169 unsigned long start_time; in cobalt_rx_bytes() local 197 start_time = jiffies; in cobalt_rx_bytes() 200 if (time_after(jiffies, start_time + adap->timeout)) in cobalt_rx_bytes() 310 unsigned long start_time; in cobalt_i2c_init() local 327 start_time = jiffies; in cobalt_i2c_init() 329 if (time_after(jiffies, start_time + HZ)) { in cobalt_i2c_init()
|
/Linux-v4.19/tools/laptop/dslm/ |
D | dslm.c | 68 time_t start_time; in measure() local 84 start_time = last_time = time(0); in measure() 109 total_time = time(0) - start_time; in measure() 110 printf("\nTotal running time: %lus\n", curr_time - start_time); in measure()
|
/Linux-v4.19/mm/ |
D | gup_benchmark.c | 21 ktime_t start_time, end_time; in __gup_benchmark_ioctl() local 33 start_time = ktime_get(); in __gup_benchmark_ioctl() 51 gup->delta_usec = ktime_us_delta(end_time, start_time); in __gup_benchmark_ioctl()
|
/Linux-v4.19/drivers/misc/sgi-gru/ |
D | gruhandles.c | 80 unsigned long start_time = get_cycles(); in wait_instruction_complete() local 87 if (GRU_OPERATION_TIMEOUT < (get_cycles() - start_time)) { in wait_instruction_complete() 89 start_time = get_cycles(); in wait_instruction_complete() 93 update_mcs_stats(opc, get_cycles() - start_time); in wait_instruction_complete()
|
/Linux-v4.19/drivers/staging/rtl8723bs/core/ |
D | rtw_pwrctrl.c | 207 static unsigned long start_time; in traffic_check_for_leave_lps() local 217 if (start_time == 0) in traffic_check_for_leave_lps() 218 start_time = jiffies; in traffic_check_for_leave_lps() 220 if (jiffies_to_msecs(jiffies - start_time) > 2000) { /* 2 sec == watch dog timer */ in traffic_check_for_leave_lps() 231 start_time = jiffies; in traffic_check_for_leave_lps() 324 unsigned long start_time; in rtw_set_rpwm() local 328 start_time = jiffies; in rtw_set_rpwm() 341 if (jiffies_to_msecs(jiffies - start_time) > LPS_RPWM_WAIT_MS) { in rtw_set_rpwm() 436 unsigned long start_time; in rtw_set_ps_mode() local 440 start_time = jiffies; in rtw_set_ps_mode() [all …]
|
/Linux-v4.19/drivers/block/rsxx/ |
D | dev.c | 62 unsigned long start_time; member 121 unsigned long start_time) in disk_stats_complete() argument 124 &card->gendisk->part0, start_time); in disk_stats_complete() 138 disk_stats_complete(card, meta->bio, meta->start_time); in bio_dma_done_cb() 184 bio_meta->start_time = jiffies; in rsxx_make_request()
|
/Linux-v4.19/drivers/net/wireless/intel/iwlegacy/ |
D | iwl-spectrum.h | 42 __le64 start_time; member 64 __le64 start_time; member
|
/Linux-v4.19/tools/power/cpupower/utils/idle_monitor/ |
D | amd_fam14h_idle.c | 86 struct timespec start_time; variable 232 clock_gettime(CLOCK_REALTIME, &start_time); in amd_fam14h_start() 239 dbg_timediff = timespec_diff_us(start_time, dbg_time); in amd_fam14h_start() 262 timediff = timespec_diff_us(start_time, end_time); in amd_fam14h_stop()
|
D | cpuidle_sysfs.c | 24 struct timespec start_time; variable 49 clock_gettime(CLOCK_REALTIME, &start_time); in cpuidle_start() 67 timediff = timespec_diff_us(start_time, end_time); in cpuidle_stop()
|
/Linux-v4.19/drivers/scsi/fnic/ |
D | fnic_scsi.c | 562 io_req->start_time = jiffies; in fnic_queuecommand_lck() 838 unsigned long start_time; in fnic_fcpio_icmnd_cmpl_handler() local 886 start_time = io_req->start_time; in fnic_fcpio_icmnd_cmpl_handler() 1014 jiffies_to_msecs(jiffies - start_time)), in fnic_fcpio_icmnd_cmpl_handler() 1034 io_duration_time = jiffies_to_msecs(jiffies) - jiffies_to_msecs(io_req->start_time); in fnic_fcpio_icmnd_cmpl_handler() 1078 unsigned long start_time; in fnic_fcpio_itmf_cmpl_handler() local 1113 start_time = io_req->start_time; in fnic_fcpio_itmf_cmpl_handler() 1202 jiffies_to_msecs(jiffies - start_time), in fnic_fcpio_itmf_cmpl_handler() 1228 jiffies_to_msecs(jiffies - start_time), in fnic_fcpio_itmf_cmpl_handler() 1243 jiffies_to_msecs(jiffies - start_time), in fnic_fcpio_itmf_cmpl_handler() [all …]
|
/Linux-v4.19/drivers/scsi/snic/ |
D | snic_scsi.c | 305 u32 qtime = jiffies - rqi->start_time; in snic_issue_scsi_req() 555 unsigned long flags, start_time; in snic_icmnd_cmpl_handler() local 623 start_time = rqi->start_time; in snic_icmnd_cmpl_handler() 650 jiffies_to_msecs(jiffies - start_time), (ulong) fwreq, in snic_icmnd_cmpl_handler() 676 jiffies_to_msecs(jiffies - start_time), (ulong) fwreq, in snic_icmnd_cmpl_handler() 694 u32 start_time = rqi->start_time; in snic_proc_dr_cmpl_locked() local 705 jiffies_to_msecs(jiffies - start_time), in snic_proc_dr_cmpl_locked() 720 jiffies_to_msecs(jiffies - start_time), in snic_proc_dr_cmpl_locked() 784 u32 start_time = 0; in snic_process_itmf_cmpl() local 812 start_time = rqi->start_time; in snic_process_itmf_cmpl() [all …]
|
/Linux-v4.19/kernel/trace/ |
D | ring_buffer_benchmark.c | 232 ktime_t start_time, end_time, timeout; in ring_buffer_producer() local 246 start_time = ktime_get(); in ring_buffer_producer() 247 timeout = ktime_add_ns(start_time, RUN_TIME * NSEC_PER_SEC); in ring_buffer_producer() 297 time = ktime_us_delta(end_time, start_time); in ring_buffer_producer()
|
/Linux-v4.19/drivers/md/bcache/ |
D | util.c | 163 void bch_time_stats_update(struct time_stats *stats, uint64_t start_time) in bch_time_stats_update() argument 170 duration = time_after64(now, start_time) in bch_time_stats_update() 171 ? now - start_time : 0; in bch_time_stats_update()
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | fw.c | 520 u32 start_time, tsf_low; in rtl8723e_set_p2p_ps_offload_cmd() local 554 start_time = p2pinfo->noa_start_time[i]; in rtl8723e_set_p2p_ps_offload_cmd() 556 while (start_time <= in rtl8723e_set_p2p_ps_offload_cmd() 558 start_time += in rtl8723e_set_p2p_ps_offload_cmd() 564 rtl_write_dword(rtlpriv, 0x5E8, start_time); in rtl8723e_set_p2p_ps_offload_cmd()
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | fw.c | 626 u32 start_time, tsf_low; in rtl8723be_set_p2p_ps_offload_cmd() local 661 start_time = p2pinfo->noa_start_time[i]; in rtl8723be_set_p2p_ps_offload_cmd() 663 while (start_time <= (tsf_low + (50 * 1024))) { in rtl8723be_set_p2p_ps_offload_cmd() 664 start_time += p2pinfo->noa_interval[i]; in rtl8723be_set_p2p_ps_offload_cmd() 669 rtl_write_dword(rtlpriv, 0x5E8, start_time); in rtl8723be_set_p2p_ps_offload_cmd()
|
/Linux-v4.19/lib/ |
D | irq_poll.c | 82 unsigned long start_time = jiffies; in irq_poll_softirq() local 93 if (budget <= 0 || time_after(jiffies, start_time)) { in irq_poll_softirq()
|
/Linux-v4.19/drivers/lightnvm/ |
D | pblk-cache.c | 25 unsigned long start_time = jiffies; in pblk_write_to_cache() local 79 generic_end_io_acct(q, REQ_OP_WRITE, &pblk->disk->part0, start_time); in pblk_write_to_cache()
|
/Linux-v4.19/tools/testing/ktest/ |
D | ktest.pl | 1593 my $start_time = time; 1639 if ($now - $start_time >= $max_monitor_wait) { 1734 my $start_time; 1745 $start_time = time; 1778 if (defined($timeout) && (($now - $start_time) >= $timeout)) { 1799 my $delta = $end_time - $start_time; 1934 my $start_time; 1950 $start_time = time; 1965 last if (defined($time) && (time - $start_time > $time)); 2029 my $start_time = time; [all …]
|