Home
last modified time | relevance | path

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

1234

/linux/tools/testing/selftests/bpf/progs/
A Dtest_cls_redirect.c402 metrics->forwarded_packets_total_gre++; in forward_with_gre()
700 metrics_t *metrics) in classify_icmp() argument
759 sizeof(tuple.ipv4), metrics); in process_icmpv4()
811 metrics); in process_icmpv6()
815 metrics_t *metrics) in process_tcp() argument
837 metrics_t *metrics) in process_udp() argument
877 return process_icmpv4(pkt, metrics); in process_ipv4()
917 return process_icmpv6(pkt, metrics); in process_ipv6()
935 if (metrics == NULL) { in cls_redirect()
939 metrics->processed_packets_total++; in cls_redirect()
[all …]
/linux/drivers/gpu/drm/amd/pm/swsmu/smu11/
A Dnavi10_ppt.c545 SmuMetrics_legacy_t *metrics = in navi10_get_legacy_smu_metrics_data() local
620 *value = metrics->CurrFanSpeed; in navi10_get_legacy_smu_metrics_data()
637 SmuMetrics_t *metrics = in navi10_get_smu_metrics_data() local
824 SmuMetrics_NV12_t *metrics = in navi12_get_smu_metrics_data() local
2716 SmuMetrics_legacy_t metrics; in navi10_get_legacy_gpu_metrics() local
2774 if (metrics.CurrMemVidOffset) in navi10_get_legacy_gpu_metrics()
2908 SmuMetrics_t metrics; in navi10_get_gpu_metrics() local
2968 if (metrics.CurrMemVidOffset) in navi10_get_gpu_metrics()
3049 if (metrics.CurrMemVidOffset) in navi12_get_legacy_gpu_metrics()
3067 SmuMetrics_NV12_t metrics; in navi12_get_gpu_metrics() local
[all …]
A Dcyan_skillfish_ppt.c163 *value = metrics->Current.GfxclkFrequency; in cyan_skillfish_get_smu_metrics_data()
166 *value = metrics->Current.SocclkFrequency; in cyan_skillfish_get_smu_metrics_data()
169 *value = metrics->Current.VclkFrequency; in cyan_skillfish_get_smu_metrics_data()
172 *value = metrics->Current.DclkFrequency; in cyan_skillfish_get_smu_metrics_data()
175 *value = metrics->Current.MemclkFrequency; in cyan_skillfish_get_smu_metrics_data()
182 *value = metrics->Current.GfxTemperature / 100 * in cyan_skillfish_get_smu_metrics_data()
186 *value = metrics->Current.SocTemperature / 100 * in cyan_skillfish_get_smu_metrics_data()
190 *value = metrics->Current.Voltage[0]; in cyan_skillfish_get_smu_metrics_data()
193 *value = metrics->Current.Voltage[1]; in cyan_skillfish_get_smu_metrics_data()
196 *value = metrics->Current.ThrottlerStatus; in cyan_skillfish_get_smu_metrics_data()
[all …]
A Dvangogh_ppt.c324 *value = metrics->Voltage[2]; in vangogh_get_legacy_smu_metrics_data()
327 *value = metrics->Voltage[1]; in vangogh_get_legacy_smu_metrics_data()
580 SmuMetrics_legacy_t metrics; in vangogh_print_legacy_clk_levels() local
586 memset(&metrics, 0, sizeof(metrics)); in vangogh_print_legacy_clk_levels()
681 SmuMetrics_t metrics; in vangogh_print_clk_levels() local
688 memset(&metrics, 0, sizeof(metrics)); in vangogh_print_clk_levels()
1650 SmuMetrics_legacy_t metrics; in vangogh_get_legacy_gpu_metrics() local
1662 &metrics.CoreTemperature[0], in vangogh_get_legacy_gpu_metrics()
1674 &metrics.CorePower[0], in vangogh_get_legacy_gpu_metrics()
1685 &metrics.CoreFrequency[0], in vangogh_get_legacy_gpu_metrics()
[all …]
A Darcturus_ppt.c661 *value = metrics->AverageGfxActivity; in arcturus_get_smu_metrics_data()
664 *value = metrics->AverageUclkActivity; in arcturus_get_smu_metrics_data()
673 *value = metrics->TemperatureEdge * in arcturus_get_smu_metrics_data()
681 *value = metrics->TemperatureHBM * in arcturus_get_smu_metrics_data()
685 *value = metrics->TemperatureVrGfx * in arcturus_get_smu_metrics_data()
689 *value = metrics->TemperatureVrSoc * in arcturus_get_smu_metrics_data()
693 *value = metrics->TemperatureVrMem * in arcturus_get_smu_metrics_data()
697 *value = metrics->ThrottlerStatus; in arcturus_get_smu_metrics_data()
700 *value = metrics->CurrFanSpeed; in arcturus_get_smu_metrics_data()
2355 SmuMetrics_t metrics; in arcturus_get_gpu_metrics() local
[all …]
A Dsienna_cichlid_ppt.c516 SmuMetrics_t *metrics = in sienna_cichlid_get_smu_metrics_data() local
538 metrics->CurrClock[PPCLK_GFXCLK]; in sienna_cichlid_get_smu_metrics_data()
542 metrics->CurrClock[PPCLK_SOCCLK]; in sienna_cichlid_get_smu_metrics_data()
546 metrics->CurrClock[PPCLK_UCLK]; in sienna_cichlid_get_smu_metrics_data()
550 metrics->CurrClock[PPCLK_VCLK_0]; in sienna_cichlid_get_smu_metrics_data()
554 metrics->CurrClock[PPCLK_VCLK_1]; in sienna_cichlid_get_smu_metrics_data()
570 metrics->CurrClock[PPCLK_FCLK]; in sienna_cichlid_get_smu_metrics_data()
574 metrics->AverageGfxActivity; in sienna_cichlid_get_smu_metrics_data()
592 metrics->AverageGfxActivity; in sienna_cichlid_get_smu_metrics_data()
596 metrics->AverageUclkActivity; in sienna_cichlid_get_smu_metrics_data()
[all …]
/linux/drivers/gpu/drm/amd/pm/swsmu/smu12/
A Drenoir_ppt.c490 SmuMetrics_t metrics; in renoir_print_clk_levels() local
494 memset(&metrics, 0, sizeof(metrics)); in renoir_print_clk_levels()
1180 *value = metrics->Voltage[0]; in renoir_get_smu_metrics_data()
1183 *value = metrics->Voltage[1]; in renoir_get_smu_metrics_data()
1191 *value = (metrics->ApuPower * 100) / metrics->StapmOriginalLimit; in renoir_get_smu_metrics_data()
1201 (metrics->StapmCurrentLimit > metrics->StapmOriginalLimit)) in renoir_get_smu_metrics_data()
1203 (metrics->StapmCurrentLimit - metrics->StapmOriginalLimit); in renoir_get_smu_metrics_data()
1321 SmuMetrics_t metrics; in renoir_get_gpu_metrics() local
1333 &metrics.CoreTemperature[0], in renoir_get_gpu_metrics()
1345 &metrics.CorePower[0], in renoir_get_gpu_metrics()
[all …]
/linux/drivers/gpu/drm/amd/pm/swsmu/smu13/
A Dyellow_carp_ppt.c341 *value = metrics->UvdActivity; in yellow_carp_get_smu_metrics_data()
358 *value = metrics->Voltage[0]; in yellow_carp_get_smu_metrics_data()
361 *value = metrics->Voltage[1]; in yellow_carp_get_smu_metrics_data()
368 if (metrics->StapmOpnLimit > 0) in yellow_carp_get_smu_metrics_data()
369 *value = (metrics->ApuPower * 100) / metrics->StapmOpnLimit; in yellow_carp_get_smu_metrics_data()
379 (metrics->StapmCurrentLimit > metrics->StapmOpnLimit)) in yellow_carp_get_smu_metrics_data()
381 (metrics->StapmCurrentLimit - metrics->StapmOpnLimit); in yellow_carp_get_smu_metrics_data()
543 SmuMetrics_t metrics; in yellow_carp_get_gpu_metrics() local
555 &metrics.CoreTemperature[0], in yellow_carp_get_gpu_metrics()
566 &metrics.CorePower[0], in yellow_carp_get_gpu_metrics()
[all …]
A Daldebaran_ppt.c609 *value = metrics->AverageGfxActivity; in aldebaran_get_smu_metrics_data()
621 *value = metrics->TemperatureEdge * in aldebaran_get_smu_metrics_data()
629 *value = metrics->TemperatureHBM * in aldebaran_get_smu_metrics_data()
633 *value = metrics->TemperatureVrGfx * in aldebaran_get_smu_metrics_data()
637 *value = metrics->TemperatureVrSoc * in aldebaran_get_smu_metrics_data()
641 *value = metrics->TemperatureVrMem * in aldebaran_get_smu_metrics_data()
645 *value = metrics->ThrottlerStatus; in aldebaran_get_smu_metrics_data()
1695 SmuMetrics_t metrics; in aldebaran_get_gpu_metrics() local
1699 &metrics, in aldebaran_get_gpu_metrics()
1722 metrics.EnergyAcc64bitLow; in aldebaran_get_gpu_metrics()
[all …]
/linux/drivers/staging/media/atomisp/pci/
A Dsh_css_metrics.c90 struct sh_css_binary_metrics *metrics) in insert_binary_metrics() argument
94 assert(metrics); in insert_binary_metrics()
97 if (*l == metrics) in insert_binary_metrics()
100 *l = metrics; in insert_binary_metrics()
101 metrics->next = NULL; in insert_binary_metrics()
105 sh_css_metrics_start_binary(struct sh_css_binary_metrics *metrics) in sh_css_metrics_start_binary() argument
107 assert(metrics); in sh_css_metrics_start_binary()
112 isp_histogram = &metrics->isp_histogram; in sh_css_metrics_start_binary()
113 sp_histogram = &metrics->sp_histogram; in sh_css_metrics_start_binary()
116 insert_binary_metrics(&sh_css_metrics.binary_metrics, metrics); in sh_css_metrics_start_binary()
A Dsh_css_metrics.h53 void sh_css_metrics_start_binary(struct sh_css_binary_metrics *metrics);
/linux/tools/perf/Documentation/
A Dtopdown.txt1 Using TopDown metrics in user space
105 * Open metrics event file descriptor for current task.
108 struct perf_event_attr metrics = {
162 Decoding metrics values
209 # compute scaled metrics for measurement a
215 # compute delta scaled metrics between b and a
240 # compute scaled metrics for measurement a
246 # compute delta scaled metrics between b and a
278 Resetting metrics counters
323 The metrics counter is extended to support TMA method level 2 metrics.
[all …]
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:
A Dperf-stat.txt292 Only print computed metrics. Print them in a single line.
341 for metrics like instructions per cycle can be lower - as both metrics
348 that certain groups of metrics sum to 100%. A downside to sharing a
384 --metrics::
385 Print metrics or metricgroups specified in a comma separated list.
386 For a group all metrics from the group are added.
387 The events from the metrics are automatically measured.
388 See perf list output for the possible metrics and metricgroups.
415 The top down metrics are collected per core instead of per
433 the complete top-down metrics.
[all …]
/linux/net/ipv4/
A Dmetrics.c10 int fc_mx_len, u32 *metrics, in ip_metrics_convert() argument
58 metrics[type - 1] = val; in ip_metrics_convert()
62 metrics[RTAX_FEATURES - 1] |= DST_FEATURE_ECN_CA; in ip_metrics_convert()
81 err = ip_metrics_convert(net, fc_mx, fc_mx_len, fib_metrics->metrics, in ip_fib_metrics_init()
A Dbuilt-in.a46 metrics.o/
/linux/tools/bpf/bpftool/
A Dprog.c1802 } metrics[] = { variable
1892 if (!metrics[i].selected) in profile_parse_metrics()
1894 metrics[i].selected = true; in profile_parse_metrics()
1940 if (!metrics[m].selected) in profile_read_values()
1964 if (!metrics[m].selected) in profile_print_readings_json()
1987 if (!metrics[m].selected) in profile_print_readings_plain()
1991 r = metrics[m].ratio_metric - 1; in profile_print_readings_plain()
1996 metrics[r].val.counter, in profile_print_readings_plain()
1997 metrics[m].ratio_desc); in profile_print_readings_plain()
2093 if (!metrics[m].selected) in profile_open_perf_events()
[all …]
/linux/net/core/
A Ddst.c54 dst_init_metrics(dst, dst_default_metrics.metrics, true); in dst_init()
206 memcpy(p->metrics, old_p->metrics, sizeof(p->metrics)); in dst_cow_metrics_generic()
221 BUILD_BUG_ON(offsetof(struct dst_metrics, metrics) != 0); in dst_cow_metrics_generic()
/linux/tools/perf/util/
A Dmetricgroup.c355 struct strlist *metrics; member
377 me->metrics = strlist__new(NULL, NULL); in mep_new()
378 if (!me->metrics) in mep_new()
409 strlist__delete(me->metrics); in mep_delete()
414 static void metricgroup__print_strlist(struct strlist *metrics, bool raw) in metricgroup__print_strlist() argument
419 strlist__for_each_entry (sn, metrics) { in metricgroup__print_strlist()
485 strlist__add(me->metrics, s); in metricgroup__print_pmu_event()
539 void metricgroup__print(bool metrics, bool metricgroups, char *filter, in metricgroup__print() argument
595 else if (metrics && !raw) in metricgroup__print()
604 if (metrics) in metricgroup__print()
[all …]
A Dmetricgroup.h82 void metricgroup__print(bool metrics, bool groups, char *filter,
/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
A Dvega12_hwmgr.c2849 SmuMetrics_t metrics; in vega12_get_gpu_metrics() local
2853 ret = vega12_get_metrics_table(hwmgr, &metrics, true); in vega12_get_gpu_metrics()
2859 gpu_metrics->temperature_edge = metrics.TemperatureEdge; in vega12_get_gpu_metrics()
2860 gpu_metrics->temperature_hotspot = metrics.TemperatureHotspot; in vega12_get_gpu_metrics()
2861 gpu_metrics->temperature_mem = metrics.TemperatureHBM; in vega12_get_gpu_metrics()
2862 gpu_metrics->temperature_vrgfx = metrics.TemperatureVrGfx; in vega12_get_gpu_metrics()
2863 gpu_metrics->temperature_vrmem = metrics.TemperatureVrMem; in vega12_get_gpu_metrics()
2874 gpu_metrics->current_uclk = metrics.CurrClock[PPCLK_UCLK]; in vega12_get_gpu_metrics()
2875 gpu_metrics->current_vclk0 = metrics.CurrClock[PPCLK_VCLK]; in vega12_get_gpu_metrics()
2876 gpu_metrics->current_dclk0 = metrics.CurrClock[PPCLK_DCLK]; in vega12_get_gpu_metrics()
[all …]
/linux/Documentation/scheduler/
A Dschedutil.txt10 With PELT we track some metrics across the various scheduler entities, from
31 Using this we track 2 key metrics: 'running' and 'runnable'. 'Running'
34 two metrics are the same, but once there is contention for the CPU 'running'
79 The result is that the above 'running' and 'runnable' metrics become invariant
/linux/include/net/
A Dip_fib.h147 #define fib_mtu fib_metrics->metrics[RTAX_MTU-1]
148 #define fib_window fib_metrics->metrics[RTAX_WINDOW-1]
149 #define fib_rtt fib_metrics->metrics[RTAX_RTT-1]
150 #define fib_advmss fib_metrics->metrics[RTAX_ADVMSS-1]
/linux/tools/perf/tests/shell/
A Dstat_all_metrics.sh7 for m in $(perf list --raw-dump metrics); do
/linux/drivers/staging/media/atomisp/pci/runtime/binary/src/
A Dbinary.c828 binary_init_metrics(struct sh_css_binary_metrics *metrics, in binary_init_metrics() argument
831 assert(metrics); in binary_init_metrics()
834 metrics->mode = info->pipeline.mode; in binary_init_metrics()
835 metrics->id = info->id; in binary_init_metrics()
836 metrics->next = NULL; in binary_init_metrics()
837 binary_init_pc_histogram(&metrics->isp_histogram); in binary_init_metrics()
838 binary_init_pc_histogram(&metrics->sp_histogram); in binary_init_metrics()
1779 binary_init_metrics(&binary->metrics, &binary->info->sp); in __ia_css_binary_find()

Completed in 67 milliseconds

1234