Lines Matching refs:timeout
616 static int dispatch_events(bool forks, int timeout, int interval, int *times)
624 else if (timeout)
625 sleep_time = timeout;
641 if (!(evlist__poll(evsel_list, time_to_sleep) > 0)) { /* poll timeout or EINTR */
642 if (timeout || handle_interval(interval, times))
714 int timeout = stat_config.timeout;
882 if (interval || timeout || evlist__ctlfd_initialized(evsel_list))
883 status = dispatch_events(forks, timeout, interval, ×);
885 if (timeout)
900 status = dispatch_events(forks, timeout, interval, ×);
1135 OPT_UINTEGER(0, "timeout", &stat_config.timeout,
1136 "stop workload and print counts after a timeout period in ms (>= 10ms)"),
2060 unsigned int interval, timeout;
2097 timeout = stat_config.timeout;
2289 if (timeout && timeout < 100) {
2290 if (timeout < 10) {
2291 pr_err("timeout must be >= 10ms.\n");
2292 parse_options_usage(stat_usage, stat_options, "timeout", 0);
2295 pr_warning("timeout < 100ms. "
2299 if (timeout && interval) {
2300 pr_err("timeout option is not supported with interval-print.\n");
2301 parse_options_usage(stat_usage, stat_options, "timeout", 0);