Home
last modified time | relevance | path

Searched refs:time_str (Results 1 – 13 of 13) sorted by relevance

/linux/tools/perf/scripts/python/
H A Dparallel-perf.py391 time_str = ReadPerfOption(cmd, "", "time")
396 if time_str != None and time_str != "":
643 def BadTimeStr(time_str): argument
646 def ValidateTimeRanges(time_ranges, time_str): argument
652 BadTimeStr(time_str)
654 BadTimeStr(time_str)
674 def ParseTimeStr(time_str, min_time, max_time): argument
675 if time_str == None or time_str == "":
678 for r in time_str.split():
681 BadTimeStr(time_str)
[all …]
/linux/tools/perf/util/
H A Dtime-utils.c461 int perf_time__parse_for_ranges_reltime(const char *time_str, in perf_time__parse_for_ranges_reltime() argument
467 bool has_percent = strchr(time_str, '%'); in perf_time__parse_for_ranges_reltime()
471 ptime_range = perf_time__range_alloc(time_str, &size); in perf_time__parse_for_ranges_reltime()
488 time_str, in perf_time__parse_for_ranges_reltime()
492 num = perf_time__parse_strs(ptime_range, time_str, size); in perf_time__parse_for_ranges_reltime()
519 int perf_time__parse_for_ranges(const char *time_str, in perf_time__parse_for_ranges() argument
524 return perf_time__parse_for_ranges_reltime(time_str, session, ranges, in perf_time__parse_for_ranges()
H A Ddata-convert.h11 const char *time_str; member
H A Ddata-convert-json.c409 if (opts->time_str) { in bt_convert__perf2json()
410 ret = perf_time__parse_for_ranges(opts->time_str, session, in bt_convert__perf2json()
H A Ddata-convert-bt.c1756 if (opts->time_str) { in bt_convert__perf2ctf()
1757 err = perf_time__parse_for_ranges(opts->time_str, session, in bt_convert__perf2ctf()
/linux/scripts/
H A Dshow_delta49 (time_str, rest) = string.split(line[1:],']',1)
50 time = string.atof(time_str)
/linux/tools/perf/
H A Dbuiltin-data.c36 .time_str = NULL,
47 OPT_STRING(0, "time", &opts.time_str, "str",
H A Dbuiltin-diff.c42 const char *time_str; member
1068 if (pdiff.time_str && strchr(pdiff.time_str, ':')) { in abstime_str_dup()
1069 str = strdup(pdiff.time_str); in abstime_str_dup()
1121 ret = perf_time__parse_for_ranges(pdiff.time_str, d->session, in parse_percent_time()
1135 else if (pdiff.time_str) in parse_time_str()
1187 if (pdiff.time_str) { in __cmd_diff()
1290 OPT_STRING(0, "time", &pdiff.time_str, "str",
H A Dbuiltin-report.c109 const char *time_str;
519 if (rep->time_str) in hists__fprintf_nr_sample_events()
520 ret += fprintf(fp, " (time slices: %s)", rep->time_str); in hists__fprintf_nr_sample_events()
1488 OPT_STRING(0, "time", &report.time_str, "str", in cmd_report()
1864 if (report.time_str) { in cmd_report()
1865 ret = perf_time__parse_for_ranges(report.time_str, session, in cmd_report()
107 const char *time_str; global() member
H A Dbuiltin-kwork.c1809 if (kwork->time_str != NULL) { in perf_kwork__read_events()
1810 ret = perf_time__parse_str(&kwork->ptime, kwork->time_str); in perf_kwork__read_events()
2438 .time_str = NULL, in cmd_kwork()
2475 OPT_STRING(0, "time", &kwork.time_str, "str", in cmd_kwork()
2494 OPT_STRING(0, "time", &kwork.time_str, "str", in cmd_kwork()
2515 OPT_STRING(0, "time", &kwork.time_str, "str", in cmd_kwork()
2532 OPT_STRING(0, "time", &kwork.time_str, "str", in cmd_kwork()
H A Dbuiltin-kmem.c86 static const char *time_str;
1980 OPT_STRING(0, "time", &time_str, "str", in cmd_kmem()
2052 if (perf_time__parse_str(&ptime, time_str) != 0) { in cmd_kmem()
85 const char *time_str; global() variable
H A Dbuiltin-script.c167 const char *time_str;
4183 OPT_STRING(0, "time", &script.time_str, "str", in cmd_script()
4584 if (script.time_str) { in cmd_script()
4585 err = perf_time__parse_for_ranges_reltime(script.time_str, session, in cmd_script()
163 const char *time_str; global() member
H A Dbuiltin-sched.c305 const char *time_str; in get_nsecs()
3621 if (perf_time__parse_str(&sched->ptime, sched->time_str) != 0) { in perf_sched__map()
3819 if (sched->time_str && perf_time__parse_str(&sched->ptime, sched->time_str) != 0) { in perf_sched__schedstat_record()
5303 OPT_STRING(0, "time", &sched.time_str, "str",
5347 OPT_STRING(0, "time", &sched.time_str, "str",
237 const char *time_str; global() member