Home
last modified time | relevance | path

Searched refs:USEC_PER_SEC (Results 1 – 21 of 21) sorted by relevance

/tools/testing/selftests/timers/
Dvalid-adjtimex.c35 #define USEC_PER_SEC 1000000LL macro
216 tmx.time.tv_sec = offset / USEC_PER_SEC; in set_offset()
217 tmx.time.tv_usec = offset % USEC_PER_SEC; in set_offset()
221 tmx.time.tv_usec += USEC_PER_SEC; in set_offset()
281 if (set_offset(USEC_PER_SEC - 1, 0)) in validate_set_offset()
284 if (set_offset(-USEC_PER_SEC + 1, 0)) in validate_set_offset()
287 if (set_offset(-USEC_PER_SEC - 1, 0)) in validate_set_offset()
290 if (set_offset(5 * USEC_PER_SEC, 0)) in validate_set_offset()
293 if (set_offset(-5 * USEC_PER_SEC, 0)) in validate_set_offset()
296 if (set_offset(5 * USEC_PER_SEC + USEC_PER_SEC / 2, 0)) in validate_set_offset()
[all …]
Dadjtick.c31 #define USEC_PER_SEC 1000000 macro
185 systick = USEC_PER_SEC/sysconf(_SC_CLK_TCK); in main()
/tools/testing/selftests/bpf/progs/
Dtcp_ca_write_sk_pacing.c10 #define USEC_PER_SEC 1000000UL macro
46 ((tp->snd_cwnd * tp->mss_cache * USEC_PER_SEC) << 3) / in BPF_PROG()
Dbpf_cubic.c112 #define USEC_PER_SEC 1000000UL macro
113 #define USEC_PER_JIFFY (USEC_PER_SEC / HZ)
324 t /= USEC_PER_SEC; in bictcp_update()
444 div64_ul((__u64)GSO_MAX_SIZE * 4 * USEC_PER_SEC, rate)); in hystart_ack_delay()
/tools/include/linux/
Dtime64.h9 #define USEC_PER_SEC 1000000L macro
/tools/perf/bench/
Dsched-pipe.c155 result_usec = diff.tv_sec * USEC_PER_SEC; in bench_sched_pipe()
166 ((double)result_usec / (double)USEC_PER_SEC))); in bench_sched_pipe()
Dfind-bit-bench.c87 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()
Dsched-seccomp-notify.c150 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()
Dkallsyms-parse.c55 runtime_us = diff.tv_sec * USEC_PER_SEC + diff.tv_usec; in do_kallsyms_parse()
Dsynthesize.c90 runtime_us = diff.tv_sec * USEC_PER_SEC + diff.tv_usec; in do_run_single_threaded()
183 runtime_us = diff.tv_sec * USEC_PER_SEC + diff.tv_usec; in do_run_multi_threaded()
Dbreakpoint.c159 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()
Dpmu-scan.c156 runtime_us = diff.tv_sec * USEC_PER_SEC + diff.tv_usec; in run_pmu_scan()
Devlist-open-close.c30 return tv->tv_sec * USEC_PER_SEC + tv->tv_usec; in timeval2usec()
Dmem-functions.c96 return (double)ts->tv_sec + (double)ts->tv_usec / (double)USEC_PER_SEC; in timeval2double()
Dinject-buildid.c426 runtime_us = diff.tv_sec * USEC_PER_SEC + diff.tv_usec; in do_inject_loop()
/tools/testing/selftests/cgroup/
Dcgroup_util.h11 #define USEC_PER_SEC 1000000L macro
Dtest_cpu.c188 long expected_usage_usec = usage_seconds * USEC_PER_SEC; in test_cpucg_stats()
576 long expected_usage_usec = usage_seconds * USEC_PER_SEC; in test_cpucg_max()
629 long expected_usage_usec = usage_seconds * USEC_PER_SEC; in test_cpucg_max_nested()
/tools/testing/selftests/net/
Dtxtimestamp.c54 #define USEC_PER_SEC 1000000L macro
108 return ts->tv_sec * USEC_PER_SEC + ts->tv_nsec / NSEC_PER_USEC; in timespec_to_us64()
/tools/tracing/latency/
Dlatency-collector.c118 #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/
Dstat-display.c1406 return t->tv_sec + (double) t->tv_usec/USEC_PER_SEC; in timeval2double()
/tools/testing/nvdimm/test/
Dnfit.c1212 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()