/linux-master/tools/perf/tests/shell/lib/ |
H A D | waiting.sh | 11 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-master/samples/bpf/ |
H A D | map_perf_test_user.c | 84 __u64 start_time; local 87 start_time = time_get_ns(); 91 cpu, max_cnt * 1000000000ll / (time_get_ns() - start_time)); 126 __u64 start_time; local 188 start_time = time_get_ns(); 200 max_cnt * 1000000000ll / (time_get_ns() - start_time)); 225 __u64 start_time; local 228 start_time = time_get_ns(); 232 cpu, max_cnt * 1000000000ll / (time_get_ns() - start_time)); 237 __u64 start_time; local 249 __u64 start_time; local 261 __u64 start_time; local 273 __u64 start_time; local 285 __u64 start_time; local [all...] |
H A D | trace_output_user.c | 17 static __u64 start_time; variable 39 MAX_CNT * 1000000000ll / (time_get_ns() - start_time)); 96 start_time = time_get_ns();
|
H A D | test_overhead_user.c | 43 __u64 start_time; local 51 start_time = time_get_ns(); 60 cpu, MAX_CNT * 1000000000ll / (time_get_ns() - start_time)); 68 __u64 start_time; local 80 start_time = time_get_ns(); 90 cpu, MAX_CNT * 1000000000ll / (time_get_ns() - start_time));
|
/linux-master/tools/testing/selftests/timers/ |
H A D | alarmtimer-suspend.c | 54 struct timespec start_time; variable in typeref:struct:timespec 105 delta_ns = timespec_sub(start_time, ts); 150 clock_gettime(alarm_clock_id, &start_time); 152 start_time.tv_sec, start_time.tv_nsec); 154 its1.it_value = start_time;
|
/linux-master/drivers/net/wireless/intel/iwlegacy/ |
H A D | iwl-spectrum.h | 27 __le64 start_time; member in struct:ieee80211_basic_report 49 __le64 start_time; member in struct:ieee80211_measurement_params
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | bpf_hashmap_full_update_bench.c | 35 u64 start_time = bpf_ktime_get_ns(); local 38 percpu_time[cpu & 255] = bpf_ktime_get_ns() - start_time;
|
H A D | bpf_hashmap_lookup.c | 55 u64 start_time; local 58 start_time = bpf_ktime_get_ns(); 60 percpu_times[cpu & CPU_MASK][times_index] = bpf_ktime_get_ns() - start_time;
|
/linux-master/tools/testing/selftests/damon/ |
H A D | debugfs_target_ids_read_before_terminate_race.c | 64 struct timespec start_time, now; local 72 clock_gettime(CLOCK_MONOTONIC, &start_time); 76 if (ts_to_ms(&now) - ts_to_ms(&start_time) > runtime_ms)
|
/linux-master/include/net/ |
H A D | busy_poll.h | 45 bool sk_busy_loop_end(void *p, unsigned long start_time); 78 static inline bool busy_loop_timeout(unsigned long start_time) argument 84 unsigned long end_time = start_time + bp_usec; 94 unsigned long start_time) 100 unsigned long end_time = start_time + bp_usec; 93 sk_busy_loop_timeout(struct sock *sk, unsigned long start_time) argument
|
/linux-master/tools/testing/selftests/mm/ |
H A D | ksm_tests.c | 218 static int ksm_do_scan(int scan_count, struct timespec start_time, int timeout) argument 234 if ((cur_time.tv_sec - start_time.tv_sec) > timeout) { 244 struct timespec start_time, int timeout) 262 if (ksm_do_scan(2, start_time, timeout)) 269 struct timespec start_time, int timeout) 351 struct timespec start_time; local 353 if (clock_gettime(CLOCK_MONOTONIC_RAW, &start_time)) { 363 if (ksm_merge_pages(merge_type, map_ptr, page_size * page_count, start_time, timeout)) 384 struct timespec start_time; local 387 if (clock_gettime(CLOCK_MONOTONIC_RAW, &start_time)) { 243 ksm_merge_pages(int merge_type, void *addr, size_t size, struct timespec start_time, int timeout) argument 268 ksm_unmerge_pages(void *addr, size_t size, struct timespec start_time, int timeout) argument 425 struct timespec start_time; local 490 struct timespec start_time; local 554 struct timespec start_time, end_time; local 621 struct timespec start_time, end_time; local 662 struct timespec start_time, end_time; local 709 struct timespec start_time, end_time; local [all...] |
/linux-master/tools/laptop/dslm/ |
H A D | dslm.c | 68 time_t start_time; local 84 start_time = last_time = time(0); 109 total_time = time(0) - start_time; 110 printf("\nTotal running time: %lus\n", curr_time - start_time);
|
/linux-master/drivers/media/pci/cobalt/ |
H A D | cobalt-i2c.c | 111 unsigned long start_time; local 138 start_time = jiffies; 141 if (time_after(jiffies, start_time + adap->timeout)) 169 unsigned long start_time; local 197 start_time = jiffies; 200 if (time_after(jiffies, start_time + adap->timeout)) 310 unsigned long start_time; local 327 start_time = jiffies; 329 if (time_after(jiffies, start_time + HZ)) {
|
/linux-master/tools/perf/ |
H A D | builtin-timechart.c | 98 u64 start_time; member in struct:per_pid 112 u64 start_time; member in struct:per_pidcomm 145 u64 start_time; member in struct:cpu_sample 164 u64 start_time; member in struct:io_sample 180 u64 start_time; member in struct:power_event 264 p->start_time = timestamp; 265 if (p->current && !p->current->start_time) { 266 p->current->start_time = timestamp; 297 sample->start_time = start; 310 if (c->start_time [all...] |
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | test_overhead.c | 22 __u64 start_time; local 27 start_time = time_get_ns(); 37 MAX_CNT * 1000000ll / (time_get_ns() - start_time));
|
/linux-master/drivers/md/ |
H A D | dm-stats.h | 34 unsigned long start_time,
|
/linux-master/drivers/scsi/fnic/ |
H A D | fnic_io.h | 52 unsigned long start_time; /* in jiffies */ member in struct:fnic_io_req
|
/linux-master/drivers/misc/sgi-gru/ |
H A D | gruhandles.c | 62 unsigned long start_time = get_cycles(); local 69 if (GRU_OPERATION_TIMEOUT < (get_cycles() - start_time)) { 71 start_time = get_cycles(); 75 update_mcs_stats(opc, get_cycles() - start_time);
|
/linux-master/drivers/gpu/drm/panfrost/ |
H A D | panfrost_job.h | 38 ktime_t start_time; member in struct:panfrost_job
|
/linux-master/drivers/net/ethernet/engleder/ |
H A D | tsnep_tc.c | 278 gcl->start_time = tsnep_gcl_start_after(gcl, limit); 283 if ((gcl->start_time - system_time) >= U32_MAX) 291 last = tsnep_gcl_start_before(curr, gcl->start_time); 292 if ((last + curr->cycle_time) == gcl->start_time) 294 gcl->start_time - last); 295 else if (((gcl->start_time - last) <= 297 ((gcl->start_time - last) <= TSNEP_GCL_MIN_INTERVAL)) 299 gcl->start_time - last); 302 gcl->start_time - last); 309 WARN_ON(gcl->start_time < [all...] |
/linux-master/io_uring/ |
H A D | napi.c | 105 static inline bool io_napi_busy_loop_timeout(unsigned long start_time, argument 109 unsigned long end_time = start_time + bp_usec; 119 unsigned long start_time) 127 if (io_napi_busy_loop_timeout(start_time, iowq->napi_busy_poll_to)) 157 unsigned long start_time = busy_loop_current_time(); local 170 } while (!io_napi_busy_loop_should_end(iowq, start_time) && !loop_end_arg); 118 io_napi_busy_loop_should_end(void *data, unsigned long start_time) argument
|
/linux-master/tools/perf/scripts/python/ |
H A D | gecko.py | 45 # start_time is intialiazed only once for the all event traces. 46 start_time = None variable 263 global start_time 271 if not start_time: 272 start_time = time_stamp 324 "startTime": start_time,
|
/linux-master/tools/power/cpupower/utils/idle_monitor/ |
H A D | cpuidle_sysfs.c | 22 static struct timespec start_time; variable in typeref:struct:timespec 47 clock_gettime(CLOCK_REALTIME, &start_time); 65 timediff = timespec_diff_us(start_time, end_time);
|
/linux-master/mm/ |
H A D | dmapool_test.c | 65 ktime_t start_time, end_time; local 80 start_time = ktime_get(); 92 ktime_us_delta(end_time, start_time));
|
/linux-master/drivers/net/ethernet/amd/pds_core/ |
H A D | fw.c | 71 unsigned long start_time; local 79 start_time = jiffies; 80 end_time = start_time + (timeout * HZ);
|