Home
last modified time | relevance | path

Searched refs:metrics (Results 1 – 25 of 67) sorted by relevance

123

/linux/tools/testing/selftests/bpf/progs/
H A Dtest_cls_redirect.c403 struct in_addr *next_hop, metrics_t *metrics) in forward_with_gre() argument
405 metrics->forwarded_packets_total_gre++; in forward_with_gre()
431 metrics->errors_total_malformed_encapsulation++; in forward_with_gre()
436 metrics->errors_total_redirect_loop++; in forward_with_gre()
445 metrics->errors_total_malformed_encapsulation++; in forward_with_gre()
456 metrics->errors_total_malformed_encapsulation++; in forward_with_gre()
461 metrics->errors_total_redirect_loop++; in forward_with_gre()
473 metrics->errors_total_malformed_encapsulation++; in forward_with_gre()
482 metrics->errors_total_malformed_encapsulation++; in forward_with_gre()
488 metrics->errors_total_encap_mtu_violate++; in forward_with_gre()
[all …]
H A Dtest_cls_redirect_dynptr.c295 metrics_t *metrics) in forward_with_gre() argument
308 metrics->forwarded_packets_total_gre++; in forward_with_gre()
325 metrics->errors_total_malformed_encapsulation++; in forward_with_gre()
330 metrics->errors_total_redirect_loop++; in forward_with_gre()
339 metrics->errors_total_malformed_encapsulation++; in forward_with_gre()
350 metrics->errors_total_malformed_encapsulation++; in forward_with_gre()
355 metrics->errors_total_redirect_loop++; in forward_with_gre()
367 metrics->errors_total_malformed_encapsulation++; in forward_with_gre()
376 metrics->errors_total_malformed_encapsulation++; in forward_with_gre()
382 metrics->errors_total_encap_mtu_violate++; in forward_with_gre()
[all …]
/linux/drivers/gpu/drm/amd/pm/swsmu/smu11/
H A Dcyan_skillfish_ppt.c134 SmuMetrics_t *metrics = (SmuMetrics_t *)smu_table->metrics_table; in cyan_skillfish_get_smu_metrics_data() local
143 *value = metrics->Current.GfxclkFrequency; in cyan_skillfish_get_smu_metrics_data()
146 *value = metrics->Current.SocclkFrequency; in cyan_skillfish_get_smu_metrics_data()
149 *value = metrics->Current.VclkFrequency; in cyan_skillfish_get_smu_metrics_data()
152 *value = metrics->Current.DclkFrequency; in cyan_skillfish_get_smu_metrics_data()
155 *value = metrics->Current.MemclkFrequency; in cyan_skillfish_get_smu_metrics_data()
158 *value = (metrics->Current.CurrentSocketPower << 8) / in cyan_skillfish_get_smu_metrics_data()
162 *value = (metrics->Average.CurrentSocketPower << 8) / in cyan_skillfish_get_smu_metrics_data()
166 *value = metrics->Current.GfxTemperature / 100 * in cyan_skillfish_get_smu_metrics_data()
170 *value = metrics->Current.SocTemperature / 100 * in cyan_skillfish_get_smu_metrics_data()
[all …]
/linux/drivers/gpu/drm/amd/pm/swsmu/smu14/
H A Dsmu_v14_0_0_ppt.c263 SmuMetrics_t *metrics = (SmuMetrics_t *)smu_table->metrics_table; in smu_v14_0_0_get_smu_metrics_data() local
272 *value = metrics->GfxclkFrequency; in smu_v14_0_0_get_smu_metrics_data()
275 *value = metrics->SocclkFrequency; in smu_v14_0_0_get_smu_metrics_data()
278 *value = metrics->VclkFrequency; in smu_v14_0_0_get_smu_metrics_data()
284 *value = metrics->MemclkFrequency; in smu_v14_0_0_get_smu_metrics_data()
287 *value = metrics->FclkFrequency; in smu_v14_0_0_get_smu_metrics_data()
290 *value = metrics->VpeclkFrequency; in smu_v14_0_0_get_smu_metrics_data()
293 *value = metrics->IpuclkFrequency; in smu_v14_0_0_get_smu_metrics_data()
296 *value = metrics->MpipuclkFrequency; in smu_v14_0_0_get_smu_metrics_data()
300 *value = metrics->GfxActivity; in smu_v14_0_0_get_smu_metrics_data()
[all …]
H A Dsmu_v14_0_2_ppt.c673 static uint32_t smu_v14_0_2_get_throttler_status(SmuMetrics_t *metrics) in smu_v14_0_2_get_throttler_status() argument
680 (metrics->ThrottlingPercentage[i] ? 1U << i : 0); in smu_v14_0_2_get_throttler_status()
691 SmuMetrics_t *metrics = in smu_v14_0_2_get_smu_metrics_data() local
703 *value = metrics->CurrClock[PPCLK_GFXCLK]; in smu_v14_0_2_get_smu_metrics_data()
706 *value = metrics->CurrClock[PPCLK_SOCCLK]; in smu_v14_0_2_get_smu_metrics_data()
709 *value = metrics->CurrClock[PPCLK_UCLK]; in smu_v14_0_2_get_smu_metrics_data()
712 *value = metrics->CurrClock[PPCLK_VCLK_0]; in smu_v14_0_2_get_smu_metrics_data()
715 *value = metrics->CurrClock[PPCLK_DCLK_0]; in smu_v14_0_2_get_smu_metrics_data()
718 *value = metrics->CurrClock[PPCLK_FCLK]; in smu_v14_0_2_get_smu_metrics_data()
721 *value = metrics->CurrClock[PPCLK_DCFCLK]; in smu_v14_0_2_get_smu_metrics_data()
[all …]
/linux/drivers/gpu/drm/amd/pm/swsmu/smu13/
H A Dsmu_v13_0_4_ppt.c253 SmuMetrics_t metrics; in smu_v13_0_4_get_gpu_metrics() local
256 ret = smu_cmn_get_metrics_table(smu, &metrics, true); in smu_v13_0_4_get_gpu_metrics()
262 gpu_metrics->temperature_gfx = metrics.GfxTemperature; in smu_v13_0_4_get_gpu_metrics()
263 gpu_metrics->temperature_soc = metrics.SocTemperature; in smu_v13_0_4_get_gpu_metrics()
265 &metrics.CoreTemperature[0], in smu_v13_0_4_get_gpu_metrics()
267 gpu_metrics->temperature_l3[0] = metrics.L3Temperature; in smu_v13_0_4_get_gpu_metrics()
269 gpu_metrics->average_gfx_activity = metrics.GfxActivity; in smu_v13_0_4_get_gpu_metrics()
270 gpu_metrics->average_mm_activity = metrics.UvdActivity; in smu_v13_0_4_get_gpu_metrics()
272 gpu_metrics->average_socket_power = metrics.AverageSocketPower; in smu_v13_0_4_get_gpu_metrics()
273 gpu_metrics->average_gfx_power = metrics.Power[0]; in smu_v13_0_4_get_gpu_metrics()
[all …]
/linux/tools/perf/Documentation/
H A Dtopdown.txt1 Using TopDown metrics
4 TopDown metrics break apart performance bottlenecks. Starting at level
5 1 it is typical to get metrics on retiring, bad speculation, frontend
11 perf stat --topdown implements this using available metrics that vary
27 With Ice Lake CPUs the TopDown metrics are directly available as
43 The metrics counter is CPU model specific and is not available on older
94 * Open metrics event file descriptor for current task.
97 struct perf_event_attr metrics = {
104 int metrics_fd = perf_event_open(&metrics, 0, -1, slots_fd, 0);
118 to read slots and the topdown metrics at different points of the program:
[all …]
H A Dperf-iostat.txt6 perf-iostat - Show I/O performance metrics
16 Mode is intended to provide four I/O performance metrics per each PCIe root port:
52 2. Collect metrics for all PCIe root ports:
71 3. Collect metrics for comma-separated list of PCIe root ports:
H A Dperf-stat.txt294 Only print computed metrics. Print them in a single line.
359 for metrics like instructions per cycle can be lower - as both metrics
366 that certain groups of metrics sum to 100%. A downside to sharing a
422 --metrics::
423 Print metrics or metricgroups specified in a comma separated list.
424 For a group all metrics from the group are added.
425 The events from the metrics are automatically measured.
426 See perf list output for the possible metrics and metricgroups.
466 Print top-down metrics supported by the CPU. This allows to determine
486 The top down metrics are collected per core instead of per
[all …]
/linux/tools/perf/tests/shell/lib/
H A Dperf_metric_validation.py38 …me, reportfname='', t=5, debug=False, datafname='', fullrulefname='', workload='true', metrics=''): argument
42 self.collectlist: str = metrics
43 self.metrics = self.__set_metrics(metrics)
70 def __set_metrics(self, metrics=''): argument
71 if metrics != '':
72 return set(metrics.split(","))
302 metrics = rule['Metrics']
307 for m in metrics:
358 if m['Name'] not in self.metrics:
401 collectlist[0] = set(list(self.metrics))
[all …]
/linux/net/ipv4/
H A Dmetrics.c11 int fc_mx_len, u32 *metrics, in ip_metrics_convert() argument
57 metrics[type - 1] = val; in ip_metrics_convert()
61 metrics[RTAX_FEATURES - 1] |= DST_FEATURE_ECN_CA; in ip_metrics_convert()
80 err = ip_metrics_convert(fc_mx, fc_mx_len, fib_metrics->metrics, in ip_fib_metrics_init()
/linux/tools/perf/
H A Dbuiltin-list.c50 /** @deprecated: Print deprecated events or metrics. */
57 /** @metrics: Controls printing of metric and metric groups. */ member
58 bool metrics;
207 (!print_state->metrics || !name || !strglobmatch(name, print_state->event_glob)) && in default_print_metric()
214 if (!print_state->metrics) in default_print_metric()
231 if (print_state->metrics) { in default_print_metric()
245 if (!print_state->metrics) in default_print_metric()
249 if (print_state->metrics && in default_print_metric()
527 OPT_BOOLEAN('j', "json", &json, "JSON encode events and metrics"), in cmd_list()
601 default_ps.metrics in cmd_list()
[all...]
H A Dperf-completion.sh211 elif [[ $prev == @("-M"|"--metrics") &&
213 local metrics
214 metrics=$($cmd list --raw-dump metric metricgroup)
215 __perfcomp "$metrics" "$cur"
/linux/tools/bpf/bpftool/
H A Dprog.c1992 } metrics[] = {
2077 metric_cnt = ARRAY_SIZE(metrics); in profile_parse_metrics()
2081 if (is_prefix(argv[0], metrics[i].name)) { in profile_parse_metrics()
2082 if (!metrics[i].selected) in profile_parse_metrics()
2084 metrics[i].selected = true; in profile_parse_metrics()
2095 p_err("too many (%d) metrics, please specify no more than %d metrics at a time", in profile_read_values()
2127 for (m = 0; m < ARRAY_SIZE(metrics); m++) { in profile_read_values()
2130 if (!metrics[m].selected) in profile_read_values()
2140 metrics[ in profile_read_values()
1985 } metrics[] = { global() variable
[all...]
/linux/net/core/
H A Ddst.c54 dst_init_metrics(dst, dst_default_metrics.metrics, true); in dst_init()
192 memcpy(p->metrics, old_p->metrics, sizeof(p->metrics)); in dst_cow_metrics_generic()
207 BUILD_BUG_ON(offsetof(struct dst_metrics, metrics) != 0); in dst_cow_metrics_generic()
/linux/Documentation/ABI/testing/
H A Ddebugfs-driver-qat_telemetry5 Description: (RW) Enables/disables the reporting of telemetry metrics.
22 telemetry metrics. Samples are collected every second and
31 metrics::
42 Reads report metrics about performance and utilization of
119 Reads report metrics about performance and utilization of
143 collection of telemetry metrics for ring pair 32::
/linux/tools/perf/pmu-events/
H A Djevents.py36 # Name of metrics table to be written out
118 metrics: Set[str]
124 self.metrics = set()
133 self.metrics.add(s)
175 return (s in self.metrics, self.insert_point[s], s)
445 metrics: list[Tuple[str, str, metric.Expression]] = []
449 metrics.append((event.pmu, event.metric_name, event.metric_expr))
450 updates = metric.RewriteMetricsInTermsOfOthers(metrics)
542 """Optionally close metrics table."""
597 if topic.endswith('metrics
[all...]
/linux/drivers/firmware/arm_scmi/
H A DKconfig59 bool "Enable SCMI communication debug metrics tracking"
64 Enables tracking of some key communication metrics for debug
65 purposes. It may track metrics like how many messages were sent
/linux/Documentation/scheduler/
H A Dschedutil.rst14 With PELT we track some metrics across the various scheduler entities, from
35 Using this we track 2 key metrics: 'running' and 'runnable'. 'Running'
38 two metrics are the same, but once there is contention for the CPU 'running'
83 The result is that the above 'running' and 'runnable' metrics become invariant
/linux/Documentation/process/
H A Dcontribution-maturity-model.rst72 * Organizations will regularly report metrics of their open source
73 contributions and track these metrics over time. These metrics may be
/linux/drivers/staging/media/atomisp/pci/runtime/binary/src/
H A Dbinary.c390 binary_init_metrics(struct sh_css_binary_metrics *metrics, in binary_init_metrics() argument
393 assert(metrics); in binary_init_metrics()
396 metrics->mode = info->pipeline.mode; in binary_init_metrics()
397 metrics->id = info->id; in binary_init_metrics()
398 metrics->next = NULL; in binary_init_metrics()
399 binary_init_pc_histogram(&metrics->isp_histogram); in binary_init_metrics()
400 binary_init_pc_histogram(&metrics->sp_histogram); in binary_init_metrics()
1236 binary_init_metrics(&binary->metrics, &binary->info->sp); in ia_css_binary_find()
/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dvega12_hwmgr.c2884 SmuMetrics_t metrics; in vega12_get_gpu_metrics() local
2888 ret = vega12_get_metrics_table(hwmgr, &metrics, true); in vega12_get_gpu_metrics()
2894 gpu_metrics->temperature_edge = metrics.TemperatureEdge; in vega12_get_gpu_metrics()
2895 gpu_metrics->temperature_hotspot = metrics.TemperatureHotspot; in vega12_get_gpu_metrics()
2896 gpu_metrics->temperature_mem = metrics.TemperatureHBM; in vega12_get_gpu_metrics()
2897 gpu_metrics->temperature_vrgfx = metrics.TemperatureVrGfx; in vega12_get_gpu_metrics()
2898 gpu_metrics->temperature_vrmem = metrics.TemperatureVrMem; in vega12_get_gpu_metrics()
2900 gpu_metrics->average_gfx_activity = metrics.AverageGfxActivity; in vega12_get_gpu_metrics()
2901 gpu_metrics->average_umc_activity = metrics.AverageUclkActivity; in vega12_get_gpu_metrics()
2903 gpu_metrics->average_gfxclk_frequency = metrics.AverageGfxclkFrequency; in vega12_get_gpu_metrics()
[all …]
H A Dvega20_hwmgr.c4330 SmuMetrics_t metrics; in vega20_get_gpu_metrics() local
4334 ret = vega20_get_metrics_table(hwmgr, &metrics, true); in vega20_get_gpu_metrics()
4340 gpu_metrics->temperature_edge = metrics.TemperatureEdge; in vega20_get_gpu_metrics()
4341 gpu_metrics->temperature_hotspot = metrics.TemperatureHotspot; in vega20_get_gpu_metrics()
4342 gpu_metrics->temperature_mem = metrics.TemperatureHBM; in vega20_get_gpu_metrics()
4343 gpu_metrics->temperature_vrgfx = metrics.TemperatureVrGfx; in vega20_get_gpu_metrics()
4344 gpu_metrics->temperature_vrsoc = metrics.TemperatureVrSoc; in vega20_get_gpu_metrics()
4345 gpu_metrics->temperature_vrmem = metrics.TemperatureVrMem0; in vega20_get_gpu_metrics()
4347 gpu_metrics->average_gfx_activity = metrics.AverageGfxActivity; in vega20_get_gpu_metrics()
4348 gpu_metrics->average_umc_activity = metrics.AverageUclkActivity; in vega20_get_gpu_metrics()
[all …]
/linux/tools/perf/tests/shell/
H A Dstat_all_metrics.sh2 # perf all metrics test
17 for m in $(perf list --raw-dump metrics); do
/linux/include/net/
H A Dip_fib.h152 #define fib_mtu fib_metrics->metrics[RTAX_MTU-1]
153 #define fib_window fib_metrics->metrics[RTAX_WINDOW-1]
154 #define fib_rtt fib_metrics->metrics[RTAX_RTT-1]
155 #define fib_advmss fib_metrics->metrics[RTAX_ADVMSS-1]

123