Home
last modified time | relevance | path

Searched refs:interval (Results 1 – 25 of 38) 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/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/bin/
Drwtop-report17 interval=$1
20 perf script $@ -s "$PERF_EXEC_PATH"/scripts/perl/rwtop.pl $interval
/tools/perf/tests/shell/
Dstat+csv_summary.sh11 perf stat -e cycles -x' ' -I1000 --interval-count 1 --summary 2>&1 | \
24 perf stat -e cycles -x' ' -I1000 --interval-count 1 --summary --no-csv-summary 2>&1 | \
/tools/perf/scripts/perl/
Drwtop.pl30 my $interval = shift;
31 if (!$interval) {
32 $interval = $default_interval;
118 alarm $interval;
/tools/perf/
Dbuiltin-stat.c325 #define WRITE_STAT_ROUND_EVENT(time, interval) \ argument
326 write_stat_round_event(time, PERF_STAT_ROUND_TYPE__ ## interval)
530 update_stats(&walltime_nsecs_stats, stat_config.interval * 1000000ULL); in process_interval()
534 static bool handle_interval(unsigned int interval, int *times) in handle_interval() argument
536 if (interval) { in handle_interval()
622 static void process_evlist(struct evlist *evlist, unsigned int interval) in process_evlist() argument
629 if (interval) in process_evlist()
633 if (interval) in process_evlist()
665 static int dispatch_events(bool forks, int timeout, int interval, int *times) in dispatch_events() argument
671 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/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/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/cgroup/
Diocost_monitor.py200 interval = args.interval variable
236 if interval == 0:
270 time.sleep(interval)
/tools/thermal/tmon/
DREADME45 -t, --time-interval set time interval for sampling
/tools/testing/selftests/kvm/
Ddirty_log_test.c697 unsigned long interval; member
788 usleep(p->interval * 1000); in run_test()
856 .interval = TEST_HOST_LOOP_INTERVAL, in main()
875 p.interval = strtol(optarg, NULL, 10); in main()
911 TEST_ASSERT(p.interval > 0, "Interval must be greater than zero"); in main()
914 p.iterations, p.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/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/util/
Dstat-display.c452 config->summary && !config->interval) { in printout()
993 if (config->interval) in print_metric_headers()
1259 int interval = config->interval; in evlist__print_counters() local
1266 if (interval) in evlist__print_counters()
1274 if (num_print_iv == 0 && !interval) in evlist__print_counters()
1323 if (!interval && !config->csv_output) in evlist__print_counters()
Dstat.h138 unsigned int interval; member
/tools/perf/Documentation/
Dperf-stat.txt271 --interval-print msecs::
276 If the metric exists, it is calculated by the counts generated in this interval and the metric is p…
278 --interval-count times::
281 example: 'perf stat -I 1000 --interval-count 2 -e cycles -a'
283 --interval-clear::
284 Clear the screen before next interval.
407 For best results it is usually a good idea to use it with interval
485 Print summary for interval mode (-I).
/tools/testing/selftests/net/forwarding/
Dlib.sh797 local interval=$1; shift
799 echo $((8 * (t1 - t0) / interval))
806 local interval=$1; shift
808 echo $(((t1 - t0) / interval))
/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
DSchedGui.py33 (self.ts_start, self.ts_end) = sched_tracer.interval()

12