Searched refs:USEC_PER_SEC (Results 1 – 23 of 23) sorted by relevance
| /tools/testing/selftests/timers/ |
| A D | valid-adjtimex.c | 210 tmx.time.tv_sec = offset / USEC_PER_SEC; in set_offset() 215 tmx.time.tv_usec += USEC_PER_SEC; in set_offset() 275 if (set_offset(USEC_PER_SEC - 1, 0)) in validate_set_offset() 278 if (set_offset(-USEC_PER_SEC + 1, 0)) in validate_set_offset() 281 if (set_offset(-USEC_PER_SEC - 1, 0)) in validate_set_offset() 284 if (set_offset(5 * USEC_PER_SEC, 0)) in validate_set_offset() 287 if (set_offset(-5 * USEC_PER_SEC, 0)) in validate_set_offset() 290 if (set_offset(5 * USEC_PER_SEC + USEC_PER_SEC / 2, 0)) in validate_set_offset() 293 if (set_offset(-5 * USEC_PER_SEC - USEC_PER_SEC / 2, 0)) in validate_set_offset() 307 if (set_bad_offset(0, USEC_PER_SEC, 0)) in validate_set_offset() [all …]
|
| A D | adjtick.c | 181 systick = USEC_PER_SEC/sysconf(_SC_CLK_TCK); in main()
|
| A D | posix_timers.c | 89 diff += (end.tv_sec - start.tv_sec) * USEC_PER_SEC; in check_diff() 91 if (llabs(diff - DELAY * USEC_PER_SEC) > USEC_PER_SEC / 2) { in check_diff()
|
| /tools/testing/selftests/bpf/progs/ |
| A D | tcp_ca_write_sk_pacing.c | 9 #define USEC_PER_SEC 1000000UL macro 40 ((tp->snd_cwnd * tp->mss_cache * USEC_PER_SEC) << 3) / in BPF_PROG()
|
| A D | bpf_cubic.c | 120 #define USEC_PER_SEC 1000000UL macro 121 #define USEC_PER_JIFFY (USEC_PER_SEC / HZ) 329 t /= USEC_PER_SEC; in bictcp_update() 451 div64_ul((__u64)GSO_MAX_SIZE * 4 * USEC_PER_SEC, rate)); in hystart_ack_delay()
|
| A D | bpf_cc_cubic.c | 20 #define USEC_PER_SEC 1000000UL macro 53 rate = (__u64)tp->mss_cache * ((USEC_PER_SEC / 100) << 3); in tcp_update_pacing_rate()
|
| /tools/include/linux/ |
| A D | time64.h | 9 #define USEC_PER_SEC 1000000L macro
|
| /tools/perf/bench/ |
| A D | find-bit-bench.c | 87 runtime_us = diff.tv_sec * USEC_PER_SEC + diff.tv_usec; in do_for_each_set_bit() 103 runtime_us = diff.tv_sec * USEC_PER_SEC + diff.tv_usec; in do_for_each_set_bit()
|
| A D | sched-seccomp-notify.c | 150 result_usec = diff.tv_sec * USEC_PER_SEC; in bench_sched_seccomp_notify() 161 ((double)result_usec / (double)USEC_PER_SEC))); in bench_sched_seccomp_notify()
|
| A D | kallsyms-parse.c | 55 runtime_us = diff.tv_sec * USEC_PER_SEC + diff.tv_usec; in do_kallsyms_parse()
|
| A D | synthesize.c | 90 runtime_us = diff.tv_sec * USEC_PER_SEC + diff.tv_usec; in do_run_single_threaded() 192 runtime_us = diff.tv_sec * USEC_PER_SEC + diff.tv_usec; in do_run_multi_threaded()
|
| A D | sched-pipe.c | 301 result_usec = diff.tv_sec * USEC_PER_SEC; in bench_sched_pipe() 312 ((double)result_usec / (double)USEC_PER_SEC))); in bench_sched_pipe()
|
| A D | breakpoint.c | 159 result_usec = diff.tv_sec * USEC_PER_SEC + diff.tv_usec; in bench_breakpoint_thread() 251 result_usec = diff.tv_sec * USEC_PER_SEC + diff.tv_usec; in bench_breakpoint_enable()
|
| A D | pmu-scan.c | 156 runtime_us = diff.tv_sec * USEC_PER_SEC + diff.tv_usec; in run_pmu_scan()
|
| A D | evlist-open-close.c | 30 return tv->tv_sec * USEC_PER_SEC + tv->tv_usec; in timeval2usec()
|
| A D | mem-functions.c | 96 return (double)ts->tv_sec + (double)ts->tv_usec / (double)USEC_PER_SEC; in timeval2double()
|
| A D | inject-buildid.c | 427 runtime_us = diff.tv_sec * USEC_PER_SEC + diff.tv_usec; in do_inject_loop()
|
| /tools/testing/selftests/cgroup/lib/include/ |
| A D | cgroup_util.h | 11 #define USEC_PER_SEC 1000000L macro
|
| /tools/testing/selftests/cgroup/ |
| A D | test_cpu.c | 190 long expected_usage_usec = usage_seconds * USEC_PER_SEC; in test_cpucg_stats() 244 long expected_nice_usec = usage_seconds * USEC_PER_SEC; in test_cpucg_nice() 653 long duration_usec = duration_seconds * USEC_PER_SEC; in test_cpucg_max() 717 long duration_usec = duration_seconds * USEC_PER_SEC; in test_cpucg_max_nested()
|
| /tools/testing/selftests/net/ |
| A D | txtimestamp.c | 54 #define USEC_PER_SEC 1000000L macro 110 return ts->tv_sec * USEC_PER_SEC + ts->tv_nsec / NSEC_PER_USEC; in timespec_to_us64()
|
| /tools/tracing/latency/ |
| A D | latency-collector.c | 118 #define USEC_PER_SEC (USEC_PER_MSEC * MSEC_PER_SEC) macro 519 future->tv_sec += time_us / USEC_PER_SEC; in get_time_in_future()
|
| /tools/perf/util/ |
| A D | stat-display.c | 1466 return t->tv_sec + (double) t->tv_usec/USEC_PER_SEC; in timeval2double()
|
| /tools/testing/nvdimm/test/ |
| A D | nfit.c | 1212 tmo = armed * USEC_PER_SEC; in nvdimm_bus_intel_fw_activate_businfo() 1221 .max_quiesce_tmo = 3 * USEC_PER_SEC, in nvdimm_bus_intel_fw_activate_businfo()
|
Completed in 38 milliseconds