Home
last modified time | relevance | path

Searched refs:interval (Results 1 – 25 of 35) sorted by relevance

12

/tools/testing/selftests/timers/
Dset-timer-lat.c115 void describe_timer(int flags, int interval) in describe_timer() argument
120 interval ? "PERIODIC":"ONE-SHOT"); in describe_timer()
123 int setup_timer(int clock_id, int flags, int interval, timer_t *tm1) in setup_timer() argument
161 its1.it_interval.tv_sec = interval; in setup_timer()
173 int check_timer_latency(int flags, int interval) in check_timer_latency() argument
177 describe_timer(flags, interval); in check_timer_latency()
186 describe_timer(flags, interval); in check_timer_latency()
198 int check_alarmcount(int flags, int interval) in check_alarmcount() argument
200 describe_timer(flags, interval); in check_alarmcount()
213 const int interval = TIMER_SECS; in do_timer() local
[all …]
Draw_skew.c95 long long delta1, delta2, interval, eppm, ppm; in main() local
124 interval = diff_timespec(start, end); in main()
127 eppm = ((delta2-delta1)*NSEC_PER_SEC)/interval; in main()
Dadjtick.c171 long tick, max, interval, err; in main() local
187 interval = max/4; /* in 4 steps each side */ in main()
189 for (tick = (systick - max); tick < (systick + max); tick += interval) { in main()
/tools/perf/scripts/python/
Dsctop.py31 interval = default_interval variable
38 interval = int(sys.argv[2]) variable
41 interval = int(sys.argv[1]) variable
44 interval = default_interval variable
49 thread.start_new_thread(print_syscall_totals, (interval,))
68 def print_syscall_totals(interval): argument
89 time.sleep(interval)
/tools/testing/selftests/drivers/net/mlxsw/
Dqos_lib.sh22 local interval=$1; shift
24 echo $((8 * (t1 - t0) / interval))
66 local interval=10
79 sleep $interval
83 local ir=$(rate $u0 $u1 $interval)
84 local er=$(rate $t0 $t1 $interval)
Dqos_mc_aware.sh263 local interval=$((d1 - d0))
264 local mc_ir=$(rate $u0 $u1 $interval)
265 local mc_er=$(rate $t0 $t1 $interval)
314 local interval=$((d1 - d0))
315 local uc_ir=$(rate $u0 $u1 $interval)
316 local uc_er=$(rate $t0 $t1 $interval)
/tools/perf/scripts/python/bin/
Dsctop-report18 interval=$2
21 interval=$1
24 perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/sctop.py $comm $interval
/tools/perf/scripts/perl/bin/
Drwtop-report17 interval=$1
20 perf script $@ -s "$PERF_EXEC_PATH"/scripts/perl/rwtop.pl $interval
/tools/perf/scripts/perl/
Drwtop.pl30 my $interval = shift;
31 if (!$interval) {
32 $interval = $default_interval;
118 alarm $interval;
/tools/testing/selftests/kvm/
Ddirty_log_test.c268 unsigned long interval, uint64_t phys_offset) in run_test() argument
366 usleep(interval * 1000); in run_test()
431 unsigned long interval = TEST_HOST_LOOP_INTERVAL; in main() local
472 interval = strtol(optarg, NULL, 10); in main()
496 TEST_ASSERT(interval > 0, "Interval must be greater than zero"); in main()
499 iterations, interval); in main()
509 run_test(i, iterations, interval, phys_offset); in main()
/tools/testing/fault-injection/
Dfailcmd.sh42 --interval=value, --space=value, --verbose=value, --task-filter=value,
87 LONGOPTS=probability:,interval:,times:,space:,verbose:,task-filter:
138 -i|--interval)
139 echo $2 > $FAULTATTR/interval
/tools/perf/
Dbuiltin-stat.c235 #define WRITE_STAT_ROUND_EVENT(time, interval) \ argument
236 write_stat_round_event(time, PERF_STAT_ROUND_TYPE__ ## interval)
354 update_stats(&walltime_nsecs_stats, stat_config.interval * 1000000ULL); in process_interval()
425 int interval = stat_config.interval; in __run_perf_stat() local
437 if (interval) { in __run_perf_stat()
438 ts.tv_sec = interval / USEC_PER_MSEC; in __run_perf_stat()
439 ts.tv_nsec = (interval % USEC_PER_MSEC) * NSEC_PER_MSEC; in __run_perf_stat()
561 if (interval || timeout) { in __run_perf_stat()
590 if (interval) { in __run_perf_stat()
665 if ((child_pid == -1) || stat_config.interval) in skip_signal()
[all …]
/tools/perf/tests/
Dstat.c46 TEST_ASSERT_VAL("wrong interval", stat_config.interval == 1); in process_stat_config_event()
55 .interval = 1, in test__synthesize_stat_config()
/tools/power/x86/intel_pstate_tracer/
Dintel_pstate_tracer.py497 if interval:
506 interval = "" variable
533 interval = arg variable
576 if interval:
581 print('Sleeping for ', interval, 'seconds')
582 time.sleep(int(interval))
589 if interval:
/tools/spi/
Dspidev_test.c43 static int interval = 5; /* interval in seconds for showing transfer rate */ variable
358 rx_rate = ((_read_count - prev_read_count) * 8) / (interval*1000.0); in show_transfer_rate()
359 tx_rate = ((_write_count - prev_write_count) * 8) / (interval*1000.0); in show_transfer_rate()
467 if (current.tv_sec - last_stat.tv_sec > interval) { in main()
/tools/thermal/tmon/
DREADME45 -t, --time-interval set time interval for sampling
/tools/testing/selftests/ptp/
Dtestptp.c179 int64_t interval, offset; in main() local
455 interval = t2 - t1; in main()
466 offset, interval); in main()
/tools/power/cpupower/utils/idle_monitor/
Dcpupower-monitor.c39 static int interval = 1; variable
368 interval = atoi(optarg); in cmdline()
446 do_interval_measure(interval); in cmd_monitor()
/tools/cgroup/
Diocost_monitor.py215 interval = args.interval variable
282 time.sleep(interval)
/tools/perf/Documentation/
Dperf-stat.txt178 --interval-print msecs::
183 --interval-count times::
186 example: 'perf stat -I 1000 --interval-count 2 -e cycles -a'
188 --interval-clear::
189 Clear the screen before next interval.
283 For best results it is usually a good idea to use it with interval
/tools/perf/util/
Dstat-display.c927 if (config->interval) in print_metric_headers()
1164 int interval = config->interval; in perf_evlist__print_counters() local
1168 if (interval) in perf_evlist__print_counters()
1176 if (num_print_iv == 0 && !interval) in perf_evlist__print_counters()
1219 if (!interval && !config->csv_output) in perf_evlist__print_counters()
Dstat.h110 unsigned int interval; member
Dstat.c370 if (config->interval) { in perf_stat_process_counter()
461 ret += fprintf(fp, "... interval %u\n", sc.interval); in perf_event__fprintf_stat_config()
/tools/kvm/kvm_stat/
Dkvm_stat.txt52 *s*:: set update interval
/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
DSchedGui.py33 (self.ts_start, self.ts_end) = sched_tracer.interval()

12