Lines Matching refs:timeout
588 static int dispatch_events(bool forks, int timeout, int interval, int *times)
596 else if (timeout)
597 sleep_time = timeout;
613 if (!(evlist__poll(evsel_list, time_to_sleep) > 0)) { /* poll timeout or EINTR */
614 if (timeout || handle_interval(interval, times))
693 int timeout = stat_config.timeout;
887 if (interval || timeout || evlist__ctlfd_initialized(evsel_list))
888 status = dispatch_events(forks, timeout, interval, ×);
890 if (timeout)
904 status = dispatch_events(forks, timeout, interval, ×);
1234 OPT_UINTEGER(0, "timeout", &stat_config.timeout,
1235 "stop workload and print counts after a timeout period in ms (>= 10ms)"),
2484 unsigned int interval, timeout;
2520 timeout = stat_config.timeout;
2770 if (timeout && timeout < 100) {
2771 if (timeout < 10) {
2772 pr_err("timeout must be >= 10ms.\n");
2773 parse_options_usage(stat_usage, stat_options, "timeout", 0);
2776 pr_warning("timeout < 100ms. "
2780 if (timeout && interval) {
2781 pr_err("timeout option is not supported with interval-print.\n");
2782 parse_options_usage(stat_usage, stat_options, "timeout", 0);