| /linux/tools/perf/scripts/python/ |
| H A D | parallel-perf.py | 391 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 D | time-utils.c | 461 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 D | data-convert.h | 11 const char *time_str; member
|
| H A D | data-convert-json.c | 409 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 D | data-convert-bt.c | 1756 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 D | show_delta | 49 (time_str, rest) = string.split(line[1:],']',1) 50 time = string.atof(time_str)
|
| /linux/tools/perf/ |
| H A D | builtin-data.c | 36 .time_str = NULL, 47 OPT_STRING(0, "time", &opts.time_str, "str",
|
| H A D | builtin-diff.c | 42 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 D | builtin-report.c | 109 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 D | builtin-kwork.c | 1809 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 D | builtin-kmem.c | 86 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 D | builtin-script.c | 167 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 D | builtin-sched.c | 305 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
|