Home
last modified time | relevance | path

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

12345678910

/linux-6.15/tools/testing/selftests/mm/
H A Dksm_tests.c244 struct timespec start_time, int timeout) in ksm_merge_pages() argument
262 if (ksm_do_scan(2, start_time, timeout)) in ksm_merge_pages()
351 struct timespec start_time; in check_ksm_merge() local
384 struct timespec start_time; in check_ksm_unmerge() local
405 if (ksm_do_scan(1, start_time, timeout)) in check_ksm_unmerge()
425 struct timespec start_time; in check_ksm_zero_page_merge() local
490 struct timespec start_time; in check_ksm_numa_merge() local
554 struct timespec start_time, end_time; in ksm_merge_hugepages_time() local
621 struct timespec start_time, end_time; in ksm_merge_time() local
662 struct timespec start_time, end_time; in ksm_unmerge_time() local
[all …]
/linux-6.15/tools/perf/tests/shell/lib/
H A 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.15/samples/bpf/
H A Dmap_perf_test_user.c84 __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 …]
H A 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.15/tools/perf/
H A 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
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()
766 if (c->start_time == 0 || c->start_time > start) in pid_begin_io_sample()
[all …]
/linux-6.15/tools/testing/selftests/timers/
H A Dalarmtimer-suspend.c40 struct timespec start_time; variable
91 delta_ns = timespec_sub(start_time, ts); in sigalarm()
136 clock_gettime(alarm_clock_id, &start_time); in main()
138 start_time.tv_sec, start_time.tv_nsec); in main()
140 its1.it_value = start_time; in main()
H A Dset-timer-lat.c42 struct timespec start_time; variable
93 delta_ns = timespec_sub(start_time, ts); in sigalarm()
141 clock_gettime(clock_id, &start_time); in setup_timer()
143 its1.it_value = start_time; in setup_timer()
/linux-6.15/tools/perf/util/
H A Dtool_pmu.c232 evsel->start_time = rdclock(); in evsel__tool_pmu_open()
250 __u64 *start_time = NULL; in evsel__tool_pmu_open() local
272 start_time = xyarray__entry(evsel->start_times, idx, thread); in evsel__tool_pmu_open()
275 start_time); in evsel__tool_pmu_open()
281 start_time); in evsel__tool_pmu_open()
397 __u64 *start_time, cur_time, delta_start; in evsel__tool_pmu_read() local
441 start_time = &evsel->start_time; in evsel__tool_pmu_read()
445 cur_time = *start_time; in evsel__tool_pmu_read()
451 start_time = xyarray__entry(evsel->start_times, cpu_map_idx, thread); in evsel__tool_pmu_read()
482 delta_start = cur_time - *start_time; in evsel__tool_pmu_read()
/linux-6.15/drivers/media/pci/cobalt/
H A 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.15/drivers/net/ethernet/engleder/
H A 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.15/include/net/
H A Dbusy_poll.h50 bool sk_busy_loop_end(void *p, unsigned long start_time);
86 static inline bool busy_loop_timeout(unsigned long start_time) in busy_loop_timeout() argument
92 unsigned long end_time = start_time + bp_usec; in busy_loop_timeout()
102 unsigned long start_time) in sk_busy_loop_timeout() argument
108 unsigned long end_time = start_time + bp_usec; in sk_busy_loop_timeout()
/linux-6.15/tools/laptop/dslm/
H A 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.15/tools/testing/selftests/bpf/progs/
H A 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()
H A 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.15/drivers/misc/sgi-gru/
H A Dgruhandles.c62 unsigned long start_time = get_cycles(); in wait_instruction_complete() local
69 if (GRU_OPERATION_TIMEOUT < (get_cycles() - start_time)) { in wait_instruction_complete()
71 start_time = get_cycles(); in wait_instruction_complete()
75 update_mcs_stats(opc, get_cycles() - start_time); in wait_instruction_complete()
/linux-6.15/io_uring/
H A Dnapi.c131 static inline bool io_napi_busy_loop_timeout(ktime_t start_time, in io_napi_busy_loop_timeout() argument
135 ktime_t end_time = ktime_add(start_time, bp); in io_napi_busy_loop_timeout()
145 unsigned long start_time) in io_napi_busy_loop_should_end() argument
153 if (io_napi_busy_loop_timeout(net_to_ktime(start_time), in io_napi_busy_loop_should_end()
207 unsigned long start_time = busy_loop_current_time(); in io_napi_blocking_busy_loop() local
224 } while (!io_napi_busy_loop_should_end(iowq, start_time) && in io_napi_blocking_busy_loop()
/linux-6.15/drivers/md/
H A 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.15/drivers/staging/rtl8723bs/core/
H A Drtw_pwrctrl.c188 static unsigned long start_time; in traffic_check_for_leave_lps() local
198 if (start_time == 0) in traffic_check_for_leave_lps()
199 start_time = jiffies; in traffic_check_for_leave_lps()
210 start_time = jiffies; in traffic_check_for_leave_lps()
282 unsigned long start_time; in rtw_set_rpwm() local
285 start_time = jiffies; in rtw_set_rpwm()
409 unsigned long start_time; in LPS_RF_ON_check() local
414 start_time = jiffies; in LPS_RF_ON_check()
561 unsigned long start_time; in LPS_Leave_check() local
567 start_time = jiffies; in LPS_Leave_check()
[all …]
/linux-6.15/tools/testing/selftests/kvm/x86/
H A Dxapic_ipi_test.c257 time_t start_time, last_update, now; in do_migrations() local
296 start_time = time(NULL); in do_migrations()
297 last_update = start_time; in do_migrations()
303 while ((int)(time(NULL) - start_time) < run_secs) { in do_migrations()
333 if (((now - start_time) % interval_secs == 0) && in do_migrations()
339 now - start_time, data->migrations_attempted, in do_migrations()
/linux-6.15/tools/perf/scripts/python/
H A 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.15/tools/testing/selftests/bpf/prog_tests/
H A 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.15/drivers/net/wireless/intel/iwlegacy/
H A Diwl-spectrum.h27 __le64 start_time; member
49 __le64 start_time; member
/linux-6.15/mm/
H A 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()
/linux-6.15/drivers/net/ethernet/aquantia/atlantic/macsec/
H A Dmacsec_struct.h234 u32 start_time; member
288 u32 start_time; member
491 u32 start_time; member
536 u32 start_time; member
/linux-6.15/crypto/
H A Djitterentropy.c763 __u64 start_time = 0, end_time = 0, delta = 0; in jent_entropy_init() local
768 start_time = ec->prev_time - delta; in jent_entropy_init()
771 if (!start_time || !end_time) { in jent_entropy_init()
781 if (!delta || (end_time == start_time)) { in jent_entropy_init()
797 if (!(end_time > start_time)) in jent_entropy_init()

12345678910