Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/scripts/
Dshow_delta49 (time_str, rest) = string.split(line[1:],']',1)
50 time = string.atof(time_str)
/kernel/linux/linux-5.10/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()
1301 OPT_STRING(0, "time", &pdiff.time_str, "str",
Dbuiltin-report.c93 const char *time_str; member
491 if (rep->time_str) in hists__fprintf_nr_sample_events()
492 ret += fprintf(fp, " (time slices: %s)", rep->time_str); in hists__fprintf_nr_sample_events()
1307 OPT_STRING(0, "time", &report.time_str, "str", in cmd_report()
1585 if (report.time_str) { in cmd_report()
1586 ret = perf_time__parse_for_ranges(report.time_str, session, in cmd_report()
Dbuiltin-kmem.c83 const char *time_str; variable
1919 OPT_STRING(0, "time", &time_str, "str", in cmd_kmem()
1986 if (perf_time__parse_str(&ptime, time_str) != 0) { in cmd_kmem()
Dbuiltin-script.c139 const char *time_str; member
3584 OPT_STRING(0, "time", &script.time_str, "str", in cmd_script()
3917 if (script.time_str) { in cmd_script()
3918 err = perf_time__parse_for_ranges_reltime(script.time_str, session, in cmd_script()
Dbuiltin-sched.c245 const char *time_str; member
3028 if (perf_time__parse_str(&sched->ptime, sched->time_str) != 0) { in perf_sched__timehist()
3494 OPT_STRING(0, "time", &sched.time_str, "str", in cmd_sched()
/kernel/linux/linux-5.10/lib/
Dvsprintf.c1809 char *time_str(char *buf, char *end, const struct rtc_time *tm, bool r) in time_str() function
1857 buf = time_str(buf, end, tm, raw); in rtc_str()
/kernel/linux/patches/linux-5.10/hispark_taurus_patch/
Dhispark_taurus.patch53102 + struct hibvt_time_str time_str = {0};
53131 + hibvt_rtc_read(rtc->regs, RTC_S_COUNT, &time_str.second);
53132 + hibvt_rtc_read(rtc->regs, RTC_M_COUNT, &time_str.minute);
53133 + hibvt_rtc_read(rtc->regs, RTC_H_COUNT, &time_str.hour);
53134 + hibvt_rtc_read(rtc->regs, RTC_D_COUNT_L, &time_str.dayl);
53135 + hibvt_rtc_read(rtc->regs, RTC_D_COUNT_H, &time_str.dayh);
53137 + day = (time_str.dayl | (time_str.dayh << 8)); /* Move to a high 8 bit. */
53138 + seconds = date_to_sec(day, time_str.hour, time_str.minute, time_str.second);
53182 + struct hibvt_time_str time_str = {0};
53189 + hibvt_rtc_read(rtc->regs, RTC_MR_S, &time_str.second);
[all …]
/kernel/linux/patches/linux-4.19/hispark_taurus_patch/
Dhispark_taurus.patch354535 + struct hibvt_time_str time_str = {0};
354564 + hibvt_rtc_read(rtc->regs, RTC_S_COUNT, &time_str.second);
354565 + hibvt_rtc_read(rtc->regs, RTC_M_COUNT, &time_str.minute);
354566 + hibvt_rtc_read(rtc->regs, RTC_H_COUNT, &time_str.hour);
354567 + hibvt_rtc_read(rtc->regs, RTC_D_COUNT_L, &time_str.dayl);
354568 + hibvt_rtc_read(rtc->regs, RTC_D_COUNT_H, &time_str.dayh);
354570 + day = (time_str.dayl | (time_str.dayh << 8)); /* Move to a high 8 bit. */
354571 + seconds = date_to_sec(day, time_str.hour, time_str.minute, time_str.second);
354615 + struct hibvt_time_str time_str = {0};
354622 + hibvt_rtc_read(rtc->regs, RTC_MR_S, &time_str.second);
[all …]