Home
last modified time | relevance | path

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

/linux-6.12.1/tools/perf/scripts/python/
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-6.12.1/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.h217 const char *time_str; member
/linux-6.12.1/scripts/
Dshow_delta49 (time_str, rest) = string.split(line[1:],']',1)
50 time = string.atof(time_str)
/linux-6.12.1/tools/perf/
Dbuiltin-diff.c41 const char *time_str; member
1067 if (pdiff.time_str && strchr(pdiff.time_str, ':')) { in abstime_str_dup()
1068 str = strdup(pdiff.time_str); in abstime_str_dup()
1120 ret = perf_time__parse_for_ranges(pdiff.time_str, d->session, in parse_percent_time()
1134 else if (pdiff.time_str) in parse_time_str()
1186 if (pdiff.time_str) { in __cmd_diff()
1290 OPT_STRING(0, "time", &pdiff.time_str, "str",
Dbuiltin-report.c107 const char *time_str; member
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()
1449 OPT_STRING(0, "time", &report.time_str, "str", in cmd_report()
1798 if (report.time_str) { in cmd_report()
1799 ret = perf_time__parse_for_ranges(report.time_str, session, in cmd_report()
Dbuiltin-kwork.c1769 if (kwork->time_str != NULL) { in perf_kwork__check_config()
1770 ret = perf_time__parse_str(&kwork->ptime, kwork->time_str); in perf_kwork__check_config()
2332 .time_str = NULL, in cmd_kwork()
2368 OPT_STRING(0, "time", &kwork.time_str, "str", in cmd_kwork()
2387 OPT_STRING(0, "time", &kwork.time_str, "str", in cmd_kwork()
2408 OPT_STRING(0, "time", &kwork.time_str, "str", in cmd_kwork()
2425 OPT_STRING(0, "time", &kwork.time_str, "str", in cmd_kwork()
Dbuiltin-kmem.c85 const char *time_str; variable
1955 OPT_STRING(0, "time", &time_str, "str", in cmd_kmem()
2027 if (perf_time__parse_str(&ptime, time_str) != 0) { in cmd_kmem()
Dbuiltin-script.c164 const char *time_str; member
4083 OPT_STRING(0, "time", &script.time_str, "str", in cmd_script()
4473 if (script.time_str) { in cmd_script()
4474 err = perf_time__parse_for_ranges_reltime(script.time_str, session, in cmd_script()
Dbuiltin-sched.c234 const char *time_str; member
3263 if (perf_time__parse_str(&sched->ptime, sched->time_str) != 0) { in perf_sched__timehist()
3825 OPT_STRING(0, "time", &sched.time_str, "str", in cmd_sched()
/linux-6.12.1/drivers/accel/habanalabs/common/
Ddevice.c1069 static void stringify_time_of_last_heartbeat(struct hl_device *hdev, char *time_str, size_t size, in stringify_time_of_last_heartbeat() argument
1081 snprintf(time_str, size, "%ld-%02d-%02d %02d:%02d:%02d (UTC)", in stringify_time_of_last_heartbeat()
/linux-6.12.1/lib/
Dvsprintf.c1839 char *time_str(char *buf, char *end, const struct rtc_time *tm, bool r) in time_str() function
1899 buf = time_str(buf, end, tm, raw); in rtc_str()