Lines Matching defs:interval
263 #define WRITE_STAT_ROUND_EVENT(time, interval) \
264 write_stat_round_event(time, PERF_STAT_ROUND_TYPE__ ## interval)
455 update_stats(&walltime_nsecs_stats, stat_config.interval * 1000000ULL);
459 static bool handle_interval(unsigned int interval, int *times)
461 if (interval) {
547 static void process_evlist(struct evlist *evlist, unsigned int interval)
556 if (interval)
588 static int dispatch_events(bool forks, int timeout, int interval, int *times)
594 if (interval)
595 sleep_time = interval;
614 if (timeout || handle_interval(interval, times))
618 process_evlist(evsel_list, interval);
691 int interval = stat_config.interval;
887 if (interval || timeout || evlist__ctlfd_initialized(evsel_list))
888 status = dispatch_events(forks, timeout, interval, ×);
904 status = dispatch_events(forks, timeout, interval, ×);
914 if (interval && stat_config.summary) {
915 stat_config.interval = 0;
988 if ((child_pid == -1) || stat_config.interval)
1227 OPT_UINTEGER('I', "interval-print", &stat_config.interval,
1228 "print counts at regular interval in ms "
1230 OPT_INTEGER(0, "interval-count", &stat_config.times,
1232 OPT_BOOLEAN(0, "interval-clear", &stat_config.interval_clear,
1233 "clear screen in between new interval"),
1279 "print summary for interval mode"),
2118 if (!stat_config.interval && !stat_config.metric_only) {
2273 if (stat_config.interval && stat_round->time) {
2484 unsigned int interval, timeout;
2519 interval = stat_config.interval;
2581 fprintf(stderr, "--interval-clear does not work with output\n");
2584 parse_options_usage(NULL, stat_options, "interval-clear", 0);
2760 if (stat_config.times && interval)
2762 else if (stat_config.times && !interval) {
2763 pr_err("interval-count option should be used together with "
2764 "interval-print.\n");
2765 parse_options_usage(stat_usage, stat_options, "interval-count", 0);
2780 if (timeout && interval) {
2781 pr_err("timeout option is not supported with interval-print.\n");
2790 if (evlist__alloc_stats(&stat_config, evsel_list, interval))
2832 if (forever && status != -1 && !interval) {
2838 if (!forever && status != -1 && (!interval || stat_config.summary)) {
2869 if (!interval) {