Home
last modified time | relevance | path

Searched refs:start_time (Results 1 – 25 of 214) sorted by relevance

123456789

/linux-6.6.21/tools/testing/selftests/mm/
Dksm_tests.c218 static int ksm_do_scan(int scan_count, struct timespec start_time, int timeout) in ksm_do_scan() argument
234 if ((cur_time.tv_sec - start_time.tv_sec) > timeout) { in ksm_do_scan()
244 struct timespec start_time, int timeout) in ksm_merge_pages() argument
262 if (ksm_do_scan(2, start_time, timeout)) in ksm_merge_pages()
269 struct timespec start_time, int timeout) in ksm_unmerge_pages() argument
351 struct timespec start_time; in check_ksm_merge() local
353 if (clock_gettime(CLOCK_MONOTONIC_RAW, &start_time)) { in check_ksm_merge()
363 if (ksm_merge_pages(merge_type, map_ptr, page_size * page_count, start_time, timeout)) in check_ksm_merge()
384 struct timespec start_time; in check_ksm_unmerge() local
387 if (clock_gettime(CLOCK_MONOTONIC_RAW, &start_time)) { in check_ksm_unmerge()
[all …]
/linux-6.6.21/tools/perf/tests/shell/lib/
Dwaiting.sh11 start_time=$($tenths)
18 if [ $(($($tenths) - start_time)) -ge $tm_out ] ; then
33 start_time=$($tenths)
40 if [ $(($($tenths) - start_time)) -ge $tm_out ] ; then
53 start_time=$($tenths)
56 if [ $(($($tenths) - start_time)) -ge $tm_out ] ; then
69 start_time=$($tenths)
72 if [ $(($($tenths) - start_time)) -gt $tm_out ] ; then
/linux-6.6.21/samples/bpf/
Dmap_perf_test_user.c84 __u64 start_time; in test_hash_prealloc() local
87 start_time = time_get_ns(); in test_hash_prealloc()
91 cpu, max_cnt * 1000000000ll / (time_get_ns() - start_time)); in test_hash_prealloc()
126 __u64 start_time; in do_test_lru() local
188 start_time = time_get_ns(); in do_test_lru()
200 max_cnt * 1000000000ll / (time_get_ns() - start_time)); 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()
232 cpu, max_cnt * 1000000000ll / (time_get_ns() - start_time)); in test_percpu_hash_prealloc()
237 __u64 start_time; in test_hash_kmalloc() local
[all …]
Dtest_overhead_user.c43 __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()
Dtrace_output_user.c17 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.6.21/tools/perf/
Dbuiltin-timechart.c98 u64 start_time; member
112 u64 start_time; member
145 u64 start_time; member
164 u64 start_time; member
180 u64 start_time; member
264 p->start_time = timestamp; in pid_fork()
265 if (p->current && !p->current->start_time) { in pid_fork()
266 p->current->start_time = timestamp; in pid_fork()
297 sample->start_time = start; in pid_put_sample()
310 if (c->start_time == 0 || c->start_time > start) in pid_put_sample()
[all …]
/linux-6.6.21/tools/testing/selftests/timers/
Dalarmtimer-suspend.c54 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()
Dset-timer-lat.c54 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.6.21/drivers/media/pci/cobalt/
Dcobalt-i2c.c111 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.6.21/include/net/
Dbusy_poll.h45 bool sk_busy_loop_end(void *p, unsigned long start_time);
74 static inline bool busy_loop_timeout(unsigned long start_time) in busy_loop_timeout() argument
80 unsigned long end_time = start_time + bp_usec; in busy_loop_timeout()
90 unsigned long start_time) in sk_busy_loop_timeout() argument
96 unsigned long end_time = start_time + bp_usec; in sk_busy_loop_timeout()
/linux-6.6.21/drivers/net/ethernet/engleder/
Dtsnep_tc.c278 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.6.21/tools/laptop/dslm/
Ddslm.c68 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.6.21/tools/testing/selftests/bpf/progs/
Dbpf_hashmap_lookup.c55 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()
Dbpf_hashmap_full_update_bench.c35 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.6.21/drivers/misc/sgi-gru/
Dgruhandles.c68 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.6.21/drivers/md/
Ddm-ps-historical-service-time.c474 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.6.21/drivers/staging/rtl8723bs/core/
Drtw_pwrctrl.c192 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()
205 if (jiffies_to_msecs(jiffies - start_time) > 2000) { /* 2 sec == watch dog timer */ 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()
303 if (jiffies_to_msecs(jiffies - start_time) > LPS_RPWM_WAIT_MS) { in rtw_set_rpwm()
415 unsigned long start_time; in LPS_RF_ON_check() local
420 start_time = jiffies; in LPS_RF_ON_check()
[all …]
/linux-6.6.21/tools/testing/selftests/kvm/x86_64/
Dxapic_ipi_test.c258 time_t start_time, last_update, now; in do_migrations() local
297 start_time = time(NULL); in do_migrations()
298 last_update = start_time; in do_migrations()
304 while ((int)(time(NULL) - start_time) < run_secs) { in do_migrations()
334 if (((now - start_time) % interval_secs == 0) && in do_migrations()
340 now - start_time, data->migrations_attempted, in do_migrations()
/linux-6.6.21/tools/perf/scripts/python/
Dgecko.py46 start_time = None variable
263 global start_time
271 if not start_time:
272 start_time = time_stamp
324 "startTime": start_time,
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dtest_overhead.c22 __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.6.21/drivers/net/wireless/intel/iwlegacy/
Diwl-spectrum.h27 __le64 start_time; member
49 __le64 start_time; member
/linux-6.6.21/mm/
Ddmapool_test.c65 ktime_t start_time, end_time; in dmapool_test_block() local
80 start_time = ktime_get(); in dmapool_test_block()
92 ktime_us_delta(end_time, start_time)); in dmapool_test_block()
Dgup_test.c103 ktime_t start_time, end_time; in __gup_test_ioctl() local
126 start_time = ktime_get(); in __gup_test_ioctl()
179 gup->get_delta_usec = ktime_us_delta(end_time, start_time); in __gup_test_ioctl()
191 start_time = ktime_get(); in __gup_test_ioctl()
196 gup->put_delta_usec = ktime_us_delta(end_time, start_time); in __gup_test_ioctl()
/linux-6.6.21/drivers/net/ethernet/aquantia/atlantic/macsec/
Dmacsec_struct.h234 u32 start_time; member
288 u32 start_time; member
491 u32 start_time; member
536 u32 start_time; member
/linux-6.6.21/Documentation/trace/
Dfprobetrace.rst201 For example, usually ``task_struct::start_time`` is not traced, but with this
205 # echo 't sched_switch comm=next->comm:string next->start_time' > dynamic_events
209 …: sched_switch: (__probestub_sched_switch+0x4/0x10) comm="rcu_preempt" usage=1 start_time=245000000
210 …6.686602: sched_switch: (__probestub_sched_switch+0x4/0x10) comm="sh" usage=1 start_time=1596095526
211 …606.686637: sched_switch: (__probestub_sched_switch+0x4/0x10) comm="swapper/0" usage=2 start_time=0
212 …: sched_switch: (__probestub_sched_switch+0x4/0x10) comm="rcu_preempt" usage=1 start_time=245000000
213 …606.687202: sched_switch: (__probestub_sched_switch+0x4/0x10) comm="swapper/0" usage=2 start_time=0
214 …: sched_switch: (__probestub_sched_switch+0x4/0x10) comm="kworker/0:1" usage=1 start_time=137000000
215 …606.690339: sched_switch: (__probestub_sched_switch+0x4/0x10) comm="swapper/0" usage=2 start_time=0
216 …: sched_switch: (__probestub_sched_switch+0x4/0x10) comm="kworker/0:1" usage=1 start_time=137000000

123456789