Home
last modified time | relevance | path

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

123

/linux/tools/testing/selftests/bpf/progs/
H A Dtest_cls_redirect.c364 /* Global metrics, per CPU in pkt_parse_ipv6()
401 struct in_addr *next_hop, metrics_t *metrics)
403 metrics->forwarded_packets_total_gre++; in forward_with_gre() argument
429 metrics->errors_total_malformed_encapsulation++; in forward_with_gre()
434 metrics->errors_total_redirect_loop++; in forward_with_gre()
443 metrics->errors_total_malformed_encapsulation++; in forward_with_gre()
454 metrics->errors_total_malformed_encapsulation++; in forward_with_gre()
459 metrics->errors_total_redirect_loop++; in forward_with_gre()
471 metrics->errors_total_malformed_encapsulation++; in forward_with_gre()
480 metrics in forward_with_gre()
530 forward_to_next_hop(struct __sk_buff * skb,encap_headers_t * encap,struct in_addr * next_hop,metrics_t * metrics) forward_to_next_hop() argument
703 classify_icmp(struct __sk_buff * skb,uint8_t proto,struct bpf_sock_tuple * tuple,uint64_t tuplen,metrics_t * metrics) classify_icmp() argument
718 process_icmpv4(buf_t * pkt,metrics_t * metrics) process_icmpv4() argument
765 process_icmpv6(buf_t * pkt,metrics_t * metrics) process_icmpv6() argument
818 process_tcp(buf_t * pkt,void * iph,uint64_t iphlen,metrics_t * metrics) process_tcp() argument
840 process_udp(buf_t * pkt,void * iph,uint64_t iphlen,metrics_t * metrics) process_udp() argument
857 process_ipv4(buf_t * pkt,metrics_t * metrics) process_ipv4() argument
894 process_ipv6(buf_t * pkt,metrics_t * metrics) process_ipv6() argument
937 metrics_t *metrics = get_global_metrics(); cls_redirect() local
[all...]
H A Dtest_cls_redirect_dynptr.c258 /* Global metrics, per CPU
295 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 in forward_with_gre()
422 forward_to_next_hop(struct __sk_buff * skb,struct bpf_dynptr * dynptr,encap_headers_t * encap,struct in_addr * next_hop,metrics_t * metrics) forward_to_next_hop() argument
590 classify_icmp(struct __sk_buff * skb,uint8_t proto,struct bpf_sock_tuple * tuple,uint64_t tuplen,metrics_t * metrics) classify_icmp() argument
606 process_icmpv4(struct __sk_buff * skb,struct bpf_dynptr * dynptr,__u64 * offset,metrics_t * metrics) process_icmpv4() argument
655 process_icmpv6(struct bpf_dynptr * dynptr,__u64 * offset,struct __sk_buff * skb,metrics_t * metrics) process_icmpv6() argument
707 process_tcp(struct bpf_dynptr * dynptr,__u64 * offset,struct __sk_buff * skb,struct iphdr_info * info,metrics_t * metrics) process_tcp() argument
730 process_udp(struct bpf_dynptr * dynptr,__u64 * offset,struct __sk_buff * skb,struct iphdr_info * info,metrics_t * metrics) process_udp() argument
749 process_ipv4(struct __sk_buff * skb,struct bpf_dynptr * dynptr,__u64 * offset,metrics_t * metrics) process_ipv4() argument
791 process_ipv6(struct __sk_buff * skb,struct bpf_dynptr * dynptr,__u64 * offset,metrics_t * metrics) process_ipv6() argument
848 metrics_t *metrics = get_global_metrics(); cls_redirect() local
[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.py39 workload='true', metrics='', cputype='cpu'): argument
43 self.collectlist: str = metrics
44 self.metrics = self.__set_metrics(metrics)
72 def __set_metrics(self, metrics=''): argument
73 if metrics != '':
74 return set(metrics.split(","))
304 metrics = rule['Metrics']
309 for m in metrics:
360 if m['Name'] not in self.metrics:
403 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.c58 bool metrics; member
213 (!print_state->metrics || !name || !strglobmatch(name, print_state->event_glob)) && in default_print_metric()
220 if (!print_state->metrics) in default_print_metric()
237 if (print_state->metrics) { in default_print_metric()
251 if (!print_state->metrics) in default_print_metric()
255 if (print_state->metrics && in default_print_metric()
470 (!print_state->common.metrics || !name || in json_print_metric()
643 ps->metrics = true; in cmd_list()
711 ps->metrics = true; in cmd_list()
716 ps->metrics = false; 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"
H A Dbuiltin-stat.c140 static char *metrics; variable
1181 if (metrics) { in append_metric_groups()
1184 if (asprintf(&tmp, "%s,%s", metrics, str) < 0) in append_metric_groups()
1186 free(metrics); in append_metric_groups()
1187 metrics = tmp; in append_metric_groups()
1189 metrics = strdup(str); in append_metric_groups()
1190 if (!metrics) in append_metric_groups()
2828 if (metrics) { in cmd_stat()
2830 int ret = metricgroup__parse_groups(evsel_list, pmu, metrics, in cmd_stat()
2838 zfree(&metrics); in cmd_stat()
/linux/tools/perf/pmu-events/
H A Djevents.py123 metrics: Set[str]
129 self.metrics = set()
138 self.metrics.add(s)
180 return (s in self.metrics, self.insert_point[s], s)
468 metrics: list[Tuple[str, str, metric.Expression]] = []
472 metrics.append((event.pmu, event.metric_name, event.metric_expr))
473 updates = metric.RewriteMetricsInTermsOfOthers(metrics)
H A Dmetric.py612 def RewriteMetricsInTermsOfOthers(metrics: List[Tuple[str, str, Expression]]
622 for outer_pmu, outer_name, outer_expression in metrics:
627 for inner_pmu, inner_name, inner_expression in metrics:
/linux/tools/perf/python/
H A Dilist.py61 for metric in perf.metrics():
461 metrics = tree.root.add("Metrics")
463 for metric in perf.metrics():
467 for metric in sorted(perf.metrics(), key=lambda x: x["MetricName"]):
489 add_metrics_to_tree(metrics.add(group), group)
/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.sh19 for m in $(perf list --raw-dump metrics); do
/linux/net/bridge/
H A Dbr_nf_core.c74 dst_init_metrics(&rt->dst, br->metrics, false); in br_netfilter_rtable_init()
/linux/Documentation/admin-guide/media/
H A Dsi476x.rst130 0x07 snr_ready Indicates that SNR metrics is ready
131 0x08 rssiready ditto for RSSI metrics
/linux/samples/bpf/
H A Dxdp_router_ipv4_user.c93 char dsts[24], gws[24], ifs[16], dsts_len[24], metrics[24]; in read_route() local
141 sprintf(metrics, "%u", in read_route()
152 route.metric = atoi(metrics); in read_route()
/linux/tools/perf/tests/
H A Dpmu-events.c921 static struct test_metric metrics[] = { variable
1008 for (size_t i = 0; i < ARRAY_SIZE(metrics); i++) { in test__parsing_fake()
1009 err = metric_parse_fake("", metrics[i].str); in test__parsing_fake()
/linux/Documentation/arch/x86/
H A Damd_hsmp.rst65 The metrics table is made available as hexadecimal sysfs binary file
69 Note: lseek() is not supported as entire metrics table is read.

123