Home
last modified time | relevance | path

Searched refs:interval (Results 1 – 25 of 36) 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/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/testing/selftests/drivers/net/mlxsw/
Dqos_lib.sh24 local interval=10
37 sleep $interval
41 local ir=$(rate $u0 $u1 $interval)
42 local er=$(rate $t0 $t1 $interval)
Dqos_mc_aware.sh268 local interval=$((d1 - d0))
269 local mc_ir=$(rate $u0 $u1 $interval)
270 local mc_er=$(rate $t0 $t1 $interval)
319 local interval=$((d1 - d0))
320 local uc_ir=$(rate $u0 $u1 $interval)
321 local uc_er=$(rate $t0 $t1 $interval)
/tools/perf/scripts/perl/
Drwtop.pl30 my $interval = shift;
31 if (!$interval) {
32 $interval = $default_interval;
118 alarm $interval;
/tools/perf/
Dbuiltin-stat.c301 #define WRITE_STAT_ROUND_EVENT(time, interval) \ argument
302 write_stat_round_event(time, PERF_STAT_ROUND_TYPE__ ## interval)
485 update_stats(&walltime_nsecs_stats, stat_config.interval * 1000000ULL); in process_interval()
489 static bool handle_interval(unsigned int interval, int *times) in handle_interval() argument
491 if (interval) { in handle_interval()
574 static void process_evlist(struct evlist *evlist, unsigned int interval) in process_evlist() argument
582 if (interval) in process_evlist()
586 if (interval) in process_evlist()
616 static int dispatch_events(bool forks, int timeout, int interval, int *times) in dispatch_events() argument
622 if (interval) in dispatch_events()
[all …]
/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/testing/selftests/kvm/
Ddirty_log_test.c379 unsigned long interval, uint64_t phys_offset) in run_test() argument
469 usleep(interval * 1000); in run_test()
533 unsigned long interval = TEST_HOST_LOOP_INTERVAL; in main() local
567 interval = strtol(optarg, NULL, 10); in main()
611 TEST_ASSERT(interval > 0, "Interval must be greater than zero"); in main()
614 iterations, interval); in main()
630 run_test(i, iterations, interval, phys_offset); in main()
634 run_test(i, iterations, interval, phys_offset); in main()
/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.py494 if interval:
503 interval = "" variable
530 interval = arg variable
573 if interval:
578 print('Sleeping for ', interval, 'seconds')
579 time.sleep(int(interval))
586 if interval:
/tools/cgroup/
Diocost_monitor.py200 interval = args.interval variable
236 if interval == 0:
270 time.sleep(interval)
/tools/spi/
Dspidev_test.c48 static int interval = 5; /* interval in seconds for showing transfer rate */ variable
373 rx_rate = ((_read_count - prev_read_count) * 8) / (interval*1000.0); in show_transfer_rate()
374 tx_rate = ((_write_count - prev_write_count) * 8) / (interval*1000.0); in show_transfer_rate()
482 if (current.tv_sec - last_stat.tv_sec > interval) { in main()
/tools/thermal/tmon/
DREADME45 -t, --time-interval set time interval for sampling
/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/testing/selftests/ptp/
Dtestptp.c182 int64_t interval, offset; in main() local
492 interval = t2 - t1; in main()
503 offset, interval); in main()
/tools/perf/Documentation/
Dperf-stat.txt236 --interval-print msecs::
241 If the metric exists, it is calculated by the counts generated in this interval and the metric is p…
243 --interval-count times::
246 example: 'perf stat -I 1000 --interval-count 2 -e cycles -a'
248 --interval-clear::
249 Clear the screen before next interval.
368 For best results it is usually a good idea to use it with interval
434 Print summary for interval mode (-I).
/tools/perf/util/
Dstat-display.c935 if (config->interval) in print_metric_headers()
1196 int interval = config->interval; in perf_evlist__print_counters() local
1200 if (interval) in perf_evlist__print_counters()
1208 if (num_print_iv == 0 && !interval) in perf_evlist__print_counters()
1252 if (!interval && !config->csv_output) in perf_evlist__print_counters()
Dstat.h126 unsigned int interval; member
Dstat.c415 if (config->interval || config->summary) { in perf_stat_process_counter()
506 ret += fprintf(fp, "... interval %u\n", sc.interval); in perf_event__fprintf_stat_config()
/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
DSchedGui.py33 (self.ts_start, self.ts_end) = sched_tracer.interval()
/tools/testing/selftests/net/forwarding/
Dlib.sh720 local interval=$1; shift
722 echo $((8 * (t1 - t0) / interval))

12