Home
last modified time | relevance | path

Searched refs:scale_unit (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/tools/perf/pmu-events/
Dmetric.py425 scale_unit: str
432 scale_unit: str,
438 scale_unit = scale_unit.replace('/sec', ' per sec')
439 if scale_unit[0].isdigit():
440 self.scale_unit = scale_unit
442 self.scale_unit = f'1{scale_unit}'
465 'ScaleUnit': self.scale_unit
/linux-6.6.21/tools/perf/
Dbuiltin-list.c100 const char *scale_unit __maybe_unused, in default_print_event()
326 const char *scale_unit, in json_print_event() argument
356 if (scale_unit && strlen(scale_unit)) { in json_print_event()
358 scale_unit); in json_print_event()
/linux-6.6.21/tools/perf/util/
Dpmus.c349 const char *scale_unit; member
422 COPY_STR(scale_unit); in perf_pmus__print_pmu_events__callback()
480 aliases[j].scale_unit, in perf_pmus__print_pmu_events()
488 zfree(&aliases[j].scale_unit); in perf_pmus__print_pmu_events()
Dprint-events.h17 const char *scale_unit,
Dpmu.h180 const char *scale_unit; member
Dpmu.c1687 info.scale_unit = NULL; in perf_pmu__for_each_event()
1689 info.scale_unit = buf + buf_used; in perf_pmu__for_each_event()
1711 info.scale_unit = NULL; in perf_pmu__for_each_event()