Lines Matching defs:time
44 #include "util/time-utils.h"
74 #include <sys/time.h>
80 unsigned long time;
138 return rec->switch_output.time &&
976 rec->evlist->first_sample_time = sample->time;
978 rec->evlist->last_sample_time = sample->time;
1575 pr_err("gettimeofday failed, cannot set reference time.\n");
1580 pr_err("clock_gettime failed, cannot set reference time.\n");
1922 if (rec->switch_output.time)
1923 alarm(rec->switch_output.time);
2319 s->time = val;
2320 pr_debug("switch-output with %s time threshold (%lu seconds)\n",
2321 s->str, s->time);
2521 OPT_BOOLEAN(0, "running-time", &record.opts.running_time,
2522 "Record running/enabled time of read (:S) events"),
2560 "Record timestamp boundary (time of first/last samples)"),
2562 &record.switch_output.set, "signal or size[BKMG] or time[smhd]",
2563 "Switch output when receiving SIGUSR2 (signal) or cross a size or time threshold",
2682 if (rec->switch_output.time) {
2684 alarm(rec->switch_output.time);