Searched refs:end_ts (Results 1 – 4 of 4) sorted by relevance
| /linux/tools/testing/selftests/net/ |
| H A D | stress_reuseport_listen.c | 71 struct timespec start_ts, end_ts; in main() local 91 clock_gettime(CLOCK_MONOTONIC, &end_ts); in main() 94 end_ns = end_ts.tv_sec * NSEC_PER_SEC + end_ts.tv_nsec; in main()
|
| /linux/tools/testing/selftests/proc/ |
| H A D | proc-maps-race.c | 576 struct timespec start_ts, end_ts; in TEST_F() local 634 clock_gettime(CLOCK_MONOTONIC_COARSE, &end_ts); in TEST_F() 635 end_test_iteration(&end_ts, self->verbose); in TEST_F() 636 } while (end_ts.tv_sec - start_ts.tv_sec < self->duration_sec); in TEST_F() 670 struct timespec start_ts, end_ts; in TEST_F() local 714 clock_gettime(CLOCK_MONOTONIC_COARSE, &end_ts); in TEST_F() 715 end_test_iteration(&end_ts, self->verbose); in TEST_F() 716 } while (end_ts.tv_sec - start_ts.tv_sec < self->duration_sec); in TEST_F() 750 struct timespec start_ts, end_ts; in TEST_F() local 797 clock_gettime(CLOCK_MONOTONIC_COARSE, &end_ts); in TEST_F() [all …]
|
| /linux/tools/perf/util/ |
| H A D | bpf_lock_contention.c | 442 static void update_lock_stat(int map_fd, int pid, u64 end_ts, in update_lock_stat() argument 450 if (ts_data->timestamp >= end_ts) in update_lock_stat() 453 delta = end_ts - ts_data->timestamp; in update_lock_stat() 494 u64 end_ts = skel->bss->end_ts; in account_end_timestamp() local 511 update_lock_stat(stat_fd, pid, end_ts, aggr_mode, in account_end_timestamp() 538 update_lock_stat(stat_fd, -1, end_ts, aggr_mode, in account_end_timestamp()
|
| /linux/tools/perf/util/bpf_skel/ |
| H A D | lock_contention.bpf.c | 201 __u64 end_ts; variable 946 end_ts = bpf_ktime_get_ns(); in BPF_PROG()
|