Home
last modified time | relevance | path

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

/linux-6.1.9/tools/perf/util/
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()
Dkwork.h189 const char *time_str; member
/linux-6.1.9/scripts/
Dshow_delta49 (time_str, rest) = string.split(line[1:],']',1)
50 time = string.atof(time_str)
/linux-6.1.9/tools/perf/
Dbuiltin-diff.c41 const char *time_str; member
1079 if (pdiff.time_str && strchr(pdiff.time_str, ':')) { in abstime_str_dup()
1080 str = strdup(pdiff.time_str); in abstime_str_dup()
1132 ret = perf_time__parse_for_ranges(pdiff.time_str, d->session, in parse_percent_time()
1146 else if (pdiff.time_str) in parse_time_str()
1198 if (pdiff.time_str) { in __cmd_diff()
1302 OPT_STRING(0, "time", &pdiff.time_str, "str",
Dbuiltin-report.c101 const char *time_str; member
506 if (rep->time_str) in hists__fprintf_nr_sample_events()
507 ret += fprintf(fp, " (time slices: %s)", rep->time_str); in hists__fprintf_nr_sample_events()
1366 OPT_STRING(0, "time", &report.time_str, "str", in cmd_report()
1650 if (report.time_str) { in cmd_report()
1651 ret = perf_time__parse_for_ranges(report.time_str, session, in cmd_report()
Dbuiltin-kwork.c1350 if (kwork->time_str != NULL) { in perf_kwork__check_config()
1351 ret = perf_time__parse_str(&kwork->ptime, kwork->time_str); in perf_kwork__check_config()
1684 .time_str = NULL, in cmd_kwork()
1719 OPT_STRING(0, "time", &kwork.time_str, "str", in cmd_kwork()
1738 OPT_STRING(0, "time", &kwork.time_str, "str", in cmd_kwork()
1759 OPT_STRING(0, "time", &kwork.time_str, "str", in cmd_kwork()
Dbuiltin-kmem.c84 const char *time_str; variable
1954 OPT_STRING(0, "time", &time_str, "str", in cmd_kmem()
2018 if (perf_time__parse_str(&ptime, time_str) != 0) { in cmd_kmem()
Dbuiltin-script.c151 const char *time_str; member
3925 OPT_STRING(0, "time", &script.time_str, "str", in cmd_script()
4285 if (script.time_str) { in cmd_script()
4286 err = perf_time__parse_for_ranges_reltime(script.time_str, session, in cmd_script()
Dbuiltin-sched.c246 const char *time_str; member
3057 if (perf_time__parse_str(&sched->ptime, sched->time_str) != 0) { in perf_sched__timehist()
3536 OPT_STRING(0, "time", &sched.time_str, "str", in cmd_sched()
/linux-6.1.9/lib/
Dvsprintf.c1841 char *time_str(char *buf, char *end, const struct rtc_time *tm, bool r) in time_str() function
1901 buf = time_str(buf, end, tm, raw); in rtc_str()