Lines Matching defs:time
44 #include "util/time-utils.h"
82 #include <sys/time.h>
88 unsigned long time;
223 return rec->switch_output.time &&
1387 set_timestamp_boundary(rec, sample->time);
2156 pr_err("gettimeofday failed, cannot set reference time.\n");
2161 pr_err("clock_gettime failed, cannot set reference time.\n");
2649 if (rec->switch_output.time)
2650 alarm(rec->switch_output.time);
3178 s->time = val;
3179 pr_debug("switch-output with %s time threshold (%lu seconds)\n",
3180 s->str, s->time);
3235 set_timestamp_boundary(rec, sample->time);
3403 "or ranges of time to enable events e.g. '-D 10-20,30-40'",
3428 OPT_BOOLEAN(0, "running-time", &record.opts.running_time,
3429 "Record running/enabled time of read (:S) events"),
3465 "Record timestamp boundary (time of first/last samples)"),
3467 &record.switch_output.set, "signal or size[BKMG] or time[smhd]",
3468 "Switch output when receiving SIGUSR2 (signal) or cross a size or time threshold",
4027 if (rec->switch_output.time) {
4029 alarm(rec->switch_output.time);