/linux-6.3-rc2/tools/testing/selftests/mm/ |
A D | ksm_tests.c | 189 if (ksm_do_scan(2, start_time, timeout)) in ksm_merge_pages() 196 struct timespec start_time, int timeout) in ksm_unmerge_pages() argument 272 struct timespec start_time; in check_ksm_merge() local 303 struct timespec start_time; in check_ksm_unmerge() local 324 if (ksm_do_scan(1, start_time, timeout)) in check_ksm_unmerge() 344 struct timespec start_time; in check_ksm_zero_page_merge() local 409 struct timespec start_time; in check_ksm_numa_merge() local 472 struct timespec start_time, end_time; in ksm_merge_hugepages_time() local 539 struct timespec start_time, end_time; in ksm_merge_time() local 580 struct timespec start_time, end_time; in ksm_unmerge_time() local [all …]
|
/linux-6.3-rc2/tools/perf/tests/shell/lib/ |
A D | waiting.sh | 10 start_time=$($tenths) 17 if [ $(($($tenths) - start_time)) -ge $tm_out ] ; then 32 start_time=$($tenths) 39 if [ $(($($tenths) - start_time)) -ge $tm_out ] ; then 52 start_time=$($tenths) 55 if [ $(($($tenths) - start_time)) -ge $tm_out ] ; then 68 start_time=$($tenths) 71 if [ $(($($tenths) - start_time)) -gt $tm_out ] ; then
|
/linux-6.3-rc2/samples/bpf/ |
A D | map_perf_test_user.c | 84 __u64 start_time; in test_hash_prealloc() local 87 start_time = time_get_ns(); in test_hash_prealloc() 126 __u64 start_time; in do_test_lru() local 188 start_time = time_get_ns(); in do_test_lru() 225 __u64 start_time; in test_percpu_hash_prealloc() local 228 start_time = time_get_ns(); in test_percpu_hash_prealloc() 237 __u64 start_time; in test_hash_kmalloc() local 249 __u64 start_time; in test_percpu_hash_kmalloc() local 261 __u64 start_time; in test_lpm_kmalloc() local 273 __u64 start_time; in test_hash_lookup() local [all …]
|
A D | test_overhead_user.c | 43 __u64 start_time; in test_task_rename() local 51 start_time = time_get_ns(); in test_task_rename() 60 cpu, MAX_CNT * 1000000000ll / (time_get_ns() - start_time)); in test_task_rename() 68 __u64 start_time; in test_fib_table_lookup() local 80 start_time = time_get_ns(); in test_fib_table_lookup() 90 cpu, MAX_CNT * 1000000000ll / (time_get_ns() - start_time)); in test_fib_table_lookup()
|
A D | trace_output_user.c | 17 static __u64 start_time; variable 39 MAX_CNT * 1000000000ll / (time_get_ns() - start_time)); in print_bpf_output() 96 start_time = time_get_ns(); in main()
|
/linux-6.3-rc2/tools/perf/ |
A D | builtin-timechart.c | 98 u64 start_time; member 112 u64 start_time; member 145 u64 start_time; member 164 u64 start_time; member 180 u64 start_time; member 310 if (c->start_time == 0 || c->start_time > start) in pid_put_sample() 311 c->start_time = start; in pid_put_sample() 312 if (p->start_time == 0 || p->start_time > start) in pid_put_sample() 394 if (!pwr->start_time) in p_state_end() 763 if (c->start_time == 0 || c->start_time > start) in pid_begin_io_sample() [all …]
|
/linux-6.3-rc2/tools/testing/selftests/timers/ |
A 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()
|
A 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-6.3-rc2/drivers/media/pci/cobalt/ |
A 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-6.3-rc2/include/net/ |
A D | busy_poll.h | 44 bool sk_busy_loop_end(void *p, unsigned long start_time); 73 static inline bool busy_loop_timeout(unsigned long start_time) in busy_loop_timeout() argument 79 unsigned long end_time = start_time + bp_usec; in busy_loop_timeout() 89 unsigned long start_time) in sk_busy_loop_timeout() argument 95 unsigned long end_time = start_time + bp_usec; in sk_busy_loop_timeout()
|
/linux-6.3-rc2/drivers/net/ethernet/engleder/ |
A D | tsnep_tc.c | 278 gcl->start_time = tsnep_gcl_start_after(gcl, limit); in tsnep_enable_gcl() 283 if ((gcl->start_time - system_time) >= U32_MAX) in tsnep_enable_gcl() 291 last = tsnep_gcl_start_before(curr, gcl->start_time); in tsnep_enable_gcl() 292 if ((last + curr->cycle_time) == gcl->start_time) in tsnep_enable_gcl() 294 gcl->start_time - last); in tsnep_enable_gcl() 295 else if (((gcl->start_time - last) <= in tsnep_enable_gcl() 297 ((gcl->start_time - last) <= TSNEP_GCL_MIN_INTERVAL)) in tsnep_enable_gcl() 299 gcl->start_time - last); in tsnep_enable_gcl() 302 gcl->start_time - last); in tsnep_enable_gcl() 309 WARN_ON(gcl->start_time <= timeout); in tsnep_enable_gcl() [all …]
|
/linux-6.3-rc2/tools/laptop/dslm/ |
A 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-6.3-rc2/tools/testing/selftests/bpf/progs/ |
A D | bpf_hashmap_lookup.c | 55 u64 start_time; in benchmark() local 58 start_time = bpf_ktime_get_ns(); in benchmark() 60 percpu_times[cpu & CPU_MASK][times_index] = bpf_ktime_get_ns() - start_time; in benchmark()
|
A D | bpf_hashmap_full_update_bench.c | 35 u64 start_time = bpf_ktime_get_ns(); in benchmark() local 38 percpu_time[cpu & 255] = bpf_ktime_get_ns() - start_time; in benchmark()
|
/linux-6.3-rc2/drivers/misc/sgi-gru/ |
A 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-6.3-rc2/drivers/md/ |
A D | dm-ps-historical-service-time.c | 474 static u64 path_service_time(struct path_info *pi, u64 start_time) in path_service_time() argument 482 if (time_after64(pi->last_finish, start_time)) in path_service_time() 483 start_time = pi->last_finish; in path_service_time() 486 if (time_before64(now, start_time)) in path_service_time() 489 return now - start_time; in path_service_time() 493 size_t nr_bytes, u64 start_time) in hst_end_io() argument 502 st = path_service_time(pi, start_time); in hst_end_io()
|
/linux-6.3-rc2/drivers/staging/rtl8723bs/core/ |
A D | rtw_pwrctrl.c | 192 static unsigned long start_time; in traffic_check_for_leave_lps() local 202 if (start_time == 0) in traffic_check_for_leave_lps() 203 start_time = jiffies; in traffic_check_for_leave_lps() 214 start_time = jiffies; in traffic_check_for_leave_lps() 286 unsigned long start_time; in rtw_set_rpwm() local 290 start_time = jiffies; in rtw_set_rpwm() 415 unsigned long start_time; in LPS_RF_ON_check() local 420 start_time = jiffies; in LPS_RF_ON_check() 571 unsigned long start_time; in LPS_Leave_check() local 577 start_time = jiffies; in LPS_Leave_check() [all …]
|
/linux-6.3-rc2/tools/testing/selftests/kvm/x86_64/ |
A D | xapic_ipi_test.c | 262 time_t start_time, last_update, now; in do_migrations() local 301 start_time = time(NULL); in do_migrations() 302 last_update = start_time; in do_migrations() 308 while ((int)(time(NULL) - start_time) < run_secs) { in do_migrations() 338 if (((now - start_time) % interval_secs == 0) && in do_migrations() 344 now - start_time, data->migrations_attempted, in do_migrations()
|
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/ |
A 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-6.3-rc2/drivers/net/wireless/intel/iwlegacy/ |
A D | iwl-spectrum.h | 27 __le64 start_time; member 49 __le64 start_time; member
|
/linux-6.3-rc2/drivers/net/ethernet/aquantia/atlantic/macsec/ |
A 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-6.3-rc2/mm/ |
A D | gup_test.c | 102 ktime_t start_time, end_time; in __gup_test_ioctl() local 125 start_time = ktime_get(); in __gup_test_ioctl() 180 gup->get_delta_usec = ktime_us_delta(end_time, start_time); in __gup_test_ioctl() 192 start_time = ktime_get(); in __gup_test_ioctl() 197 gup->put_delta_usec = ktime_us_delta(end_time, start_time); in __gup_test_ioctl()
|
/linux-6.3-rc2/tools/power/cpupower/utils/idle_monitor/ |
A 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()
|
A 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-6.3-rc2/drivers/scsi/fnic/ |
A D | fnic_scsi.c | 548 io_req->start_time = jiffies; in fnic_queuecommand_lck() 821 unsigned long start_time; in fnic_fcpio_icmnd_cmpl_handler() local 869 start_time = io_req->start_time; in fnic_fcpio_icmnd_cmpl_handler() 1060 unsigned long start_time; in fnic_fcpio_itmf_cmpl_handler() local 1095 start_time = io_req->start_time; in fnic_fcpio_itmf_cmpl_handler() 1348 unsigned long start_time = 0; in fnic_cleanup_io_iter() local 1385 start_time = io_req->start_time; in fnic_cleanup_io_iter() 1435 unsigned long start_time = 0; in fnic_wq_copy_cleanup_handler() local 1465 start_time = io_req->start_time; in fnic_wq_copy_cleanup_handler() 1888 start_time = io_req->start_time; in fnic_abort_cmd() [all …]
|