| /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 | kwork.h | 218 const char *time_str; member
|
| /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-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() 1291 OPT_STRING(0, "time", &pdiff.time_str, "str",
|
| H A D | builtin-report.c | 107 const char *time_str; member 523 if (rep->time_str) in hists__fprintf_nr_sample_events() 524 ret += fprintf(fp, " (time slices: %s)", rep->time_str); in hists__fprintf_nr_sample_events() 1478 OPT_STRING(0, "time", &report.time_str, "str", in cmd_report() 1852 if (report.time_str) { in cmd_report() 1853 ret = perf_time__parse_for_ranges(report.time_str, session, in cmd_report()
|
| H A D | builtin-kwork.c | 1771 if (kwork->time_str != NULL) { in perf_kwork__check_config() 1772 ret = perf_time__parse_str(&kwork->ptime, kwork->time_str); in perf_kwork__check_config() 2351 .time_str = NULL, in cmd_kwork() 2388 OPT_STRING(0, "time", &kwork.time_str, "str", in cmd_kwork() 2407 OPT_STRING(0, "time", &kwork.time_str, "str", in cmd_kwork() 2428 OPT_STRING(0, "time", &kwork.time_str, "str", in cmd_kwork() 2445 OPT_STRING(0, "time", &kwork.time_str, "str", in cmd_kwork()
|
| H A D | builtin-kmem.c | 85 const char *time_str; variable 1957 OPT_STRING(0, "time", &time_str, "str", in cmd_kmem() 2029 if (perf_time__parse_str(&ptime, time_str) != 0) { in cmd_kmem()
|
| H A D | builtin-script.c | 164 const char *time_str; member 3865 OPT_STRING(0, "time", &script.time_str, "str", in cmd_script() 4257 if (script.time_str) { in cmd_script() 4258 err = perf_time__parse_for_ranges_reltime(script.time_str, session, in cmd_script()
|
| H A D | builtin-sched.c | 233 const char *time_str; member 3322 if (perf_time__parse_str(&sched->ptime, sched->time_str) != 0) { in perf_sched__timehist() 3899 OPT_STRING(0, "time", &sched.time_str, "str", in cmd_sched()
|
| /linux/lib/ |
| H A D | vsprintf.c | 1907 char *time_str(char *buf, char *end, const struct rtc_time *tm, bool r) in time_str() function 1967 buf = time_str(buf, end, tm, raw); in rtc_str()
|