/Linux-v5.10/samples/bpf/ |
D | map_perf_test_user.c | 85 __u64 start_time; in test_hash_prealloc() local 88 start_time = time_get_ns(); in test_hash_prealloc() 92 cpu, max_cnt * 1000000000ll / (time_get_ns() - start_time)); in test_hash_prealloc() 127 __u64 start_time; in do_test_lru() local 186 start_time = time_get_ns(); in do_test_lru() 198 max_cnt * 1000000000ll / (time_get_ns() - start_time)); in do_test_lru() 223 __u64 start_time; in test_percpu_hash_prealloc() local 226 start_time = time_get_ns(); in test_percpu_hash_prealloc() 230 cpu, max_cnt * 1000000000ll / (time_get_ns() - start_time)); in test_percpu_hash_prealloc() 235 __u64 start_time; in test_hash_kmalloc() local [all …]
|
D | test_overhead_user.c | 35 __u64 start_time; in test_task_rename() local 44 start_time = time_get_ns(); in test_task_rename() 53 cpu, MAX_CNT * 1000000000ll / (time_get_ns() - start_time)); in test_task_rename() 59 __u64 start_time; in test_urandom_read() local 68 start_time = time_get_ns(); in test_urandom_read() 77 cpu, MAX_CNT * 1000000000ll / (time_get_ns() - start_time)); in test_urandom_read()
|
D | trace_output_user.c | 17 static __u64 start_time; variable 39 MAX_CNT * 1000000000ll / (time_get_ns() - start_time)); in print_bpf_output() 98 start_time = time_get_ns(); in main()
|
/Linux-v5.10/tools/perf/ |
D | builtin-timechart.c | 95 u64 start_time; member 109 u64 start_time; member 142 u64 start_time; member 161 u64 start_time; member 177 u64 start_time; member 251 p->start_time = timestamp; in pid_fork() 252 if (p->current && !p->current->start_time) { in pid_fork() 253 p->current->start_time = timestamp; in pid_fork() 287 sample->start_time = start; in pid_put_sample() 300 if (c->start_time == 0 || c->start_time > start) in pid_put_sample() [all …]
|
/Linux-v5.10/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-v5.10/include/net/ |
D | busy_poll.h | 42 bool sk_busy_loop_end(void *p, unsigned long start_time); 71 static inline bool busy_loop_timeout(unsigned long start_time) in busy_loop_timeout() argument 77 unsigned long end_time = start_time + bp_usec; in busy_loop_timeout() 87 unsigned long start_time) in sk_busy_loop_timeout() argument 93 unsigned long end_time = start_time + bp_usec; in sk_busy_loop_timeout()
|
/Linux-v5.10/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-v5.10/mm/ |
D | gup_benchmark.c | 70 ktime_t start_time, end_time; in __gup_benchmark_ioctl() local 93 start_time = ktime_get(); in __gup_benchmark_ioctl() 143 gup->get_delta_usec = ktime_us_delta(end_time, start_time); in __gup_benchmark_ioctl() 152 start_time = ktime_get(); in __gup_benchmark_ioctl() 157 gup->put_delta_usec = ktime_us_delta(end_time, start_time); in __gup_benchmark_ioctl()
|
/Linux-v5.10/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-v5.10/drivers/staging/rtl8723bs/core/ |
D | rtw_pwrctrl.c | 206 static unsigned long start_time; in traffic_check_for_leave_lps() local 216 if (start_time == 0) in traffic_check_for_leave_lps() 217 start_time = jiffies; in traffic_check_for_leave_lps() 219 if (jiffies_to_msecs(jiffies - start_time) > 2000) { /* 2 sec == watch dog timer */ in traffic_check_for_leave_lps() 229 start_time = jiffies; in traffic_check_for_leave_lps() 320 unsigned long start_time; in rtw_set_rpwm() local 324 start_time = jiffies; in rtw_set_rpwm() 337 if (jiffies_to_msecs(jiffies - start_time) > LPS_RPWM_WAIT_MS) { in rtw_set_rpwm() 427 unsigned long start_time; in rtw_set_ps_mode() local 431 start_time = jiffies; in rtw_set_ps_mode() [all …]
|
/Linux-v5.10/drivers/misc/sgi-gru/ |
D | gruhandles.c | 68 unsigned long start_time = get_cycles(); in wait_instruction_complete() local 75 if (GRU_OPERATION_TIMEOUT < (get_cycles() - start_time)) { in wait_instruction_complete() 77 start_time = get_cycles(); in wait_instruction_complete() 81 update_mcs_stats(opc, get_cycles() - start_time); in wait_instruction_complete()
|
/Linux-v5.10/drivers/md/ |
D | dm-historical-service-time.c | 471 static u64 path_service_time(struct path_info *pi, u64 start_time) in path_service_time() argument 479 if (time_after64(pi->last_finish, start_time)) in path_service_time() 480 start_time = pi->last_finish; in path_service_time() 483 if (time_before64(sched_now, start_time)) in path_service_time() 486 return sched_now - start_time; in path_service_time() 490 size_t nr_bytes, u64 start_time) in hst_end_io() argument 499 st = path_service_time(pi, start_time); in hst_end_io()
|
/Linux-v5.10/drivers/lightnvm/ |
D | pblk-cache.c | 26 unsigned long start_time; in pblk_write_to_cache() local 31 start_time = bio_start_io_acct(bio); in pblk_write_to_cache() 80 bio_end_io_acct(bio, start_time); in pblk_write_to_cache()
|
D | pblk-read.c | 192 unsigned long start_time = r_ctx->start_time; in __pblk_end_io_read() local 194 bio_end_io_acct(int_bio, start_time); in __pblk_end_io_read() 271 unsigned long start_time; in pblk_submit_read() local 273 start_time = bio_start_io_acct(bio); in pblk_submit_read() 283 r_ctx->start_time = start_time; in pblk_submit_read()
|
/Linux-v5.10/drivers/net/wireless/intel/iwlegacy/ |
D | iwl-spectrum.h | 27 __le64 start_time; member 49 __le64 start_time; member
|
/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/ |
D | test_overhead.c | 22 __u64 start_time; in test_task_rename() local 27 start_time = time_get_ns(); in test_task_rename() 37 MAX_CNT * 1000000ll / (time_get_ns() - start_time)); in test_task_rename()
|
/Linux-v5.10/drivers/net/ethernet/aquantia/atlantic/macsec/ |
D | macsec_struct.h | 234 u32 start_time; member 288 u32 start_time; member 491 u32 start_time; member 536 u32 start_time; member
|
/Linux-v5.10/tools/power/cpupower/utils/idle_monitor/ |
D | amd_fam14h_idle.c | 85 static struct timespec start_time; variable 231 clock_gettime(CLOCK_REALTIME, &start_time); in amd_fam14h_start() 238 dbg_timediff = timespec_diff_us(start_time, dbg_time); in amd_fam14h_start() 261 timediff = timespec_diff_us(start_time, end_time); in amd_fam14h_stop()
|
D | cpuidle_sysfs.c | 22 static struct timespec start_time; variable 47 clock_gettime(CLOCK_REALTIME, &start_time); in cpuidle_start() 65 timediff = timespec_diff_us(start_time, end_time); in cpuidle_stop()
|
/Linux-v5.10/drivers/scsi/fnic/ |
D | fnic_scsi.c | 559 io_req->start_time = jiffies; in fnic_queuecommand_lck() 835 unsigned long start_time; in fnic_fcpio_icmnd_cmpl_handler() local 883 start_time = io_req->start_time; in fnic_fcpio_icmnd_cmpl_handler() 1011 jiffies_to_msecs(jiffies - start_time)), in fnic_fcpio_icmnd_cmpl_handler() 1032 jiffies_to_msecs(start_time); in fnic_fcpio_icmnd_cmpl_handler() 1076 unsigned long start_time; in fnic_fcpio_itmf_cmpl_handler() local 1111 start_time = io_req->start_time; in fnic_fcpio_itmf_cmpl_handler() 1200 jiffies_to_msecs(jiffies - start_time), in fnic_fcpio_itmf_cmpl_handler() 1226 jiffies_to_msecs(jiffies - start_time), in fnic_fcpio_itmf_cmpl_handler() 1241 jiffies_to_msecs(jiffies - start_time), in fnic_fcpio_itmf_cmpl_handler() [all …]
|
/Linux-v5.10/drivers/scsi/snic/ |
D | snic_scsi.c | 304 u32 qtime = jiffies - rqi->start_time; in snic_issue_scsi_req() 554 unsigned long flags, start_time; in snic_icmnd_cmpl_handler() local 622 start_time = rqi->start_time; in snic_icmnd_cmpl_handler() 649 jiffies_to_msecs(jiffies - start_time), (ulong) fwreq, in snic_icmnd_cmpl_handler() 675 jiffies_to_msecs(jiffies - start_time), (ulong) fwreq, in snic_icmnd_cmpl_handler() 693 u32 start_time = rqi->start_time; in snic_proc_dr_cmpl_locked() local 704 jiffies_to_msecs(jiffies - start_time), in snic_proc_dr_cmpl_locked() 719 jiffies_to_msecs(jiffies - start_time), in snic_proc_dr_cmpl_locked() 783 u32 start_time = 0; in snic_process_itmf_cmpl() local 811 start_time = rqi->start_time; in snic_process_itmf_cmpl() [all …]
|
/Linux-v5.10/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-v5.10/drivers/net/ethernet/pensando/ionic/ |
D | ionic_fw.c | 69 unsigned long start_time; in ionic_fw_status_long_wait() local 73 start_time = jiffies; in ionic_fw_status_long_wait() 74 end_time = start_time + (timeout * HZ); in ionic_fw_status_long_wait()
|
/Linux-v5.10/drivers/net/wireless/microchip/wilc1000/ |
D | fw.h | 80 __le32 start_time; member 87 __le32 start_time; member
|