/linux-6.3-rc2/tools/testing/selftests/bpf/progs/ |
A D | test_cls_redirect.c | 402 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-6.3-rc2/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
A D | vangogh_ppt.c | 581 SmuMetrics_legacy_t metrics; in vangogh_print_legacy_clk_levels() local 587 memset(&metrics, 0, sizeof(metrics)); in vangogh_print_legacy_clk_levels() 682 SmuMetrics_t metrics; in vangogh_print_clk_levels() local 689 memset(&metrics, 0, sizeof(metrics)); in vangogh_print_clk_levels() 1659 SmuMetrics_legacy_t metrics; in vangogh_get_legacy_gpu_metrics_v2_3() local 1683 &metrics.CorePower[0], in vangogh_get_legacy_gpu_metrics_v2_3() 1694 &metrics.CoreFrequency[0], in vangogh_get_legacy_gpu_metrics_v2_3() 1740 &metrics.CorePower[0], in vangogh_get_legacy_gpu_metrics() 1751 &metrics.CoreFrequency[0], in vangogh_get_legacy_gpu_metrics() 1773 SmuMetrics_t metrics; in vangogh_get_gpu_metrics_v2_3() local [all …]
|
A D | cyan_skillfish_ppt.c | 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() 162 *value = metrics->Current.GfxTemperature / 100 * in cyan_skillfish_get_smu_metrics_data() 166 *value = metrics->Current.SocTemperature / 100 * in cyan_skillfish_get_smu_metrics_data() 170 *value = metrics->Current.Voltage[0]; in cyan_skillfish_get_smu_metrics_data() 173 *value = metrics->Current.Voltage[1]; in cyan_skillfish_get_smu_metrics_data() 176 *value = metrics->Current.ThrottlerStatus; in cyan_skillfish_get_smu_metrics_data() [all …]
|
A D | navi10_ppt.c | 559 SmuMetrics_legacy_t *metrics = in navi10_get_legacy_smu_metrics_data() local 630 *value = metrics->CurrFanSpeed; in navi10_get_legacy_smu_metrics_data() 645 SmuMetrics_t *metrics = in navi10_get_smu_metrics_data() local 820 SmuMetrics_NV12_t *metrics = in navi12_get_smu_metrics_data() local 2902 SmuMetrics_legacy_t metrics; in navi10_get_legacy_gpu_metrics() local 2954 if (metrics.CurrMemVidOffset) in navi10_get_legacy_gpu_metrics() 3125 SmuMetrics_t metrics; in navi10_get_gpu_metrics() local 3179 if (metrics.CurrMemVidOffset) in navi10_get_gpu_metrics() 3254 if (metrics.CurrMemVidOffset) in navi12_get_legacy_gpu_metrics() 3272 SmuMetrics_NV12_t metrics; in navi12_get_gpu_metrics() local [all …]
|
A D | arcturus_ppt.c | 646 *value = metrics->AverageGfxActivity; in arcturus_get_smu_metrics_data() 649 *value = metrics->AverageUclkActivity; in arcturus_get_smu_metrics_data() 658 *value = metrics->TemperatureEdge * in arcturus_get_smu_metrics_data() 666 *value = metrics->TemperatureHBM * in arcturus_get_smu_metrics_data() 670 *value = metrics->TemperatureVrGfx * in arcturus_get_smu_metrics_data() 674 *value = metrics->TemperatureVrSoc * in arcturus_get_smu_metrics_data() 678 *value = metrics->TemperatureVrMem * in arcturus_get_smu_metrics_data() 682 *value = metrics->ThrottlerStatus; in arcturus_get_smu_metrics_data() 685 *value = metrics->CurrFanSpeed; in arcturus_get_smu_metrics_data() 2370 SmuMetrics_t metrics; in arcturus_get_gpu_metrics() local [all …]
|
A D | sienna_cichlid_ppt.c | 705 SmuMetrics_t *metrics = in sienna_cichlid_get_smu_metrics_data() local 751 metrics->CurrClock[PPCLK_GFXCLK]; in sienna_cichlid_get_smu_metrics_data() 756 metrics->CurrClock[PPCLK_SOCCLK]; in sienna_cichlid_get_smu_metrics_data() 761 metrics->CurrClock[PPCLK_UCLK]; in sienna_cichlid_get_smu_metrics_data() 766 metrics->CurrClock[PPCLK_VCLK_0]; in sienna_cichlid_get_smu_metrics_data() 791 metrics->CurrClock[PPCLK_FCLK]; in sienna_cichlid_get_smu_metrics_data() 796 metrics->AverageGfxActivity; in sienna_cichlid_get_smu_metrics_data() 819 metrics->AverageGfxActivity; in sienna_cichlid_get_smu_metrics_data() 824 metrics->AverageUclkActivity; in sienna_cichlid_get_smu_metrics_data() 3860 SmuMetrics_t *metrics = in sienna_cichlid_get_gpu_metrics() local [all …]
|
/linux-6.3-rc2/drivers/staging/media/atomisp/pci/ |
A D | sh_css_metrics.c | 90 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 D | sh_css_metrics.h | 53 void sh_css_metrics_start_binary(struct sh_css_binary_metrics *metrics);
|
/linux-6.3-rc2/drivers/gpu/drm/amd/pm/swsmu/smu12/ |
A D | renoir_ppt.c | 499 SmuMetrics_t metrics; in renoir_print_clk_levels() local 503 memset(&metrics, 0, sizeof(metrics)); in renoir_print_clk_levels() 1141 apu_power = metrics->ApuPower; in renoir_get_ss_power_percent() 1148 if (metrics->StapmCurrentLimit > metrics->StapmOriginalLimit) in renoir_get_ss_power_percent() 1149 dgpu_limit = metrics->StapmCurrentLimit - metrics->StapmOriginalLimit; in renoir_get_ss_power_percent() 1218 *value = metrics->Voltage[0]; in renoir_get_smu_metrics_data() 1221 *value = metrics->Voltage[1]; in renoir_get_smu_metrics_data() 1347 SmuMetrics_t metrics; in renoir_get_gpu_metrics() local 1359 &metrics.CoreTemperature[0], in renoir_get_gpu_metrics() 1371 &metrics.CorePower[0], in renoir_get_gpu_metrics() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/pm/swsmu/smu13/ |
A D | smu_v13_0_4_ppt.c | 237 SmuMetrics_t metrics; in smu_v13_0_4_get_gpu_metrics() local 249 &metrics.CoreTemperature[0], in smu_v13_0_4_get_gpu_metrics() 260 &metrics.CorePower[0], in smu_v13_0_4_get_gpu_metrics() 271 &metrics.CoreFrequency[0], in smu_v13_0_4_get_gpu_metrics() 317 *value = metrics->UvdActivity; in smu_v13_0_4_get_smu_metrics_data() 334 *value = metrics->Voltage[0]; in smu_v13_0_4_get_smu_metrics_data() 337 *value = metrics->Voltage[1]; in smu_v13_0_4_get_smu_metrics_data() 344 if (metrics->StapmOpnLimit > 0) in smu_v13_0_4_get_smu_metrics_data() 345 *value = (metrics->ApuPower * 100) / metrics->StapmOpnLimit; in smu_v13_0_4_get_smu_metrics_data() 355 (metrics->StapmCurrentLimit > metrics->StapmOpnLimit)) in smu_v13_0_4_get_smu_metrics_data() [all …]
|
A D | smu_v13_0_7_ppt.c | 714 SmuMetrics_t *metrics = in smu_v13_0_7_get_smu_metrics_data() local 732 *value = metrics->CurrClock[PPCLK_UCLK]; in smu_v13_0_7_get_smu_metrics_data() 747 *value = metrics->CurrClock[PPCLK_FCLK]; in smu_v13_0_7_get_smu_metrics_data() 765 *value = metrics->AverageVclk0Frequency; in smu_v13_0_7_get_smu_metrics_data() 768 *value = metrics->AverageDclk0Frequency; in smu_v13_0_7_get_smu_metrics_data() 777 *value = metrics->AverageGfxActivity; in smu_v13_0_7_get_smu_metrics_data() 780 *value = metrics->AverageUclkActivity; in smu_v13_0_7_get_smu_metrics_data() 809 *value = metrics->AvgFanRpm; in smu_v13_0_7_get_smu_metrics_data() 812 *value = metrics->AvgFanPwm; in smu_v13_0_7_get_smu_metrics_data() 818 *value = metrics->PcieRate; in smu_v13_0_7_get_smu_metrics_data() [all …]
|
A D | yellow_carp_ppt.c | 307 if (metrics->StapmCurrentLimit > metrics->StapmOpnLimit) in yellow_carp_get_ss_power_percent() 308 dgpu_limit = metrics->StapmCurrentLimit - metrics->StapmOpnLimit; in yellow_carp_get_ss_power_percent() 346 *value = metrics->VclkFrequency; in yellow_carp_get_smu_metrics_data() 349 *value = metrics->DclkFrequency; in yellow_carp_get_smu_metrics_data() 358 *value = metrics->UvdActivity; in yellow_carp_get_smu_metrics_data() 375 *value = metrics->Voltage[0]; in yellow_carp_get_smu_metrics_data() 378 *value = metrics->Voltage[1]; in yellow_carp_get_smu_metrics_data() 548 SmuMetrics_t metrics; in yellow_carp_get_gpu_metrics() local 560 &metrics.CoreTemperature[0], in yellow_carp_get_gpu_metrics() 571 &metrics.CorePower[0], in yellow_carp_get_gpu_metrics() [all …]
|
A D | smu_v13_0_0_ppt.c | 729 SmuMetrics_t *metrics = in smu_v13_0_0_get_smu_metrics_data() local 747 *value = metrics->CurrClock[PPCLK_UCLK]; in smu_v13_0_0_get_smu_metrics_data() 762 *value = metrics->CurrClock[PPCLK_FCLK]; in smu_v13_0_0_get_smu_metrics_data() 783 *value = metrics->AverageVclk0Frequency; in smu_v13_0_0_get_smu_metrics_data() 795 *value = metrics->AverageGfxActivity; in smu_v13_0_0_get_smu_metrics_data() 798 *value = metrics->AverageUclkActivity; in smu_v13_0_0_get_smu_metrics_data() 827 *value = metrics->AvgFanRpm; in smu_v13_0_0_get_smu_metrics_data() 830 *value = metrics->AvgFanPwm; in smu_v13_0_0_get_smu_metrics_data() 836 *value = metrics->PcieRate; in smu_v13_0_0_get_smu_metrics_data() 839 *value = metrics->PcieWidth; in smu_v13_0_0_get_smu_metrics_data() [all …]
|
A D | smu_v13_0_5_ppt.c | 271 *value = metrics->GfxclkFrequency; in smu_v13_0_5_get_smu_metrics_data() 274 *value = metrics->SocclkFrequency; in smu_v13_0_5_get_smu_metrics_data() 277 *value = metrics->VclkFrequency; in smu_v13_0_5_get_smu_metrics_data() 280 *value = metrics->DclkFrequency; in smu_v13_0_5_get_smu_metrics_data() 283 *value = metrics->MemclkFrequency; in smu_v13_0_5_get_smu_metrics_data() 286 *value = metrics->GfxActivity / 100; in smu_v13_0_5_get_smu_metrics_data() 289 *value = metrics->UvdActivity; in smu_v13_0_5_get_smu_metrics_data() 303 *value = metrics->ThrottlerStatus; in smu_v13_0_5_get_smu_metrics_data() 306 *value = metrics->Voltage[0]; in smu_v13_0_5_get_smu_metrics_data() 309 *value = metrics->Voltage[1]; in smu_v13_0_5_get_smu_metrics_data() [all …]
|
A D | aldebaran_ppt.c | 622 *value = metrics->AverageGfxActivity; in aldebaran_get_smu_metrics_data() 634 *value = metrics->TemperatureEdge * in aldebaran_get_smu_metrics_data() 642 *value = metrics->TemperatureHBM * in aldebaran_get_smu_metrics_data() 646 *value = metrics->TemperatureVrGfx * in aldebaran_get_smu_metrics_data() 650 *value = metrics->TemperatureVrSoc * in aldebaran_get_smu_metrics_data() 654 *value = metrics->TemperatureVrMem * in aldebaran_get_smu_metrics_data() 658 *value = metrics->ThrottlerStatus; in aldebaran_get_smu_metrics_data() 1739 SmuMetrics_t metrics; in aldebaran_get_gpu_metrics() local 1743 &metrics, in aldebaran_get_gpu_metrics() 1766 metrics.EnergyAcc64bitLow; in aldebaran_get_gpu_metrics() [all …]
|
/linux-6.3-rc2/tools/perf/Documentation/ |
A D | topdown.txt | 1 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 D | perf-iostat.txt | 6 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 D | perf-stat.txt | 294 Only print computed metrics. Print them in a single line. 343 for metrics like instructions per cycle can be lower - as both metrics 350 that certain groups of metrics sum to 100%. A downside to sharing a 386 --metrics:: 387 Print metrics or metricgroups specified in a comma separated list. 388 For a group all metrics from the group are added. 389 The events from the metrics are automatically measured. 390 See perf list output for the possible metrics and metricgroups. 417 The top down metrics are collected per core instead of per 435 the complete top-down metrics. [all …]
|
/linux-6.3-rc2/net/ipv4/ |
A D | metrics.c | 11 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(net, fc_mx, fc_mx_len, fib_metrics->metrics, in ip_fib_metrics_init()
|
/linux-6.3-rc2/tools/perf/ |
A D | builtin-list.c | 53 bool metrics; member 176 (!print_state->metrics || !name || !strglobmatch(name, print_state->event_glob)) && in default_print_metric() 183 if (!print_state->metrics) in default_print_metric() 194 else if (print_state->metrics) in default_print_metric() 202 if (!print_state->metrics) in default_print_metric() 206 if (print_state->metrics && in default_print_metric() 485 default_ps.metrics = true; in cmd_list() 514 default_ps.metrics = true; in cmd_list() 519 default_ps.metrics = false; in cmd_list() 532 default_ps.metrics = true; in cmd_list() [all …]
|
/linux-6.3-rc2/tools/bpf/bpftool/ |
A D | prog.c | 1947 } metrics[] = { variable 2037 if (!metrics[i].selected) in profile_parse_metrics() 2039 metrics[i].selected = true; in profile_parse_metrics() 2085 if (!metrics[m].selected) in profile_read_values() 2109 if (!metrics[m].selected) in profile_print_readings_json() 2132 if (!metrics[m].selected) in profile_print_readings_plain() 2141 metrics[r].val.counter, in profile_print_readings_plain() 2142 metrics[m].ratio_desc); in profile_print_readings_plain() 2245 cpu, metrics[mid].name); in profile_open_perf_event() 2283 if (!metrics[m].selected) in profile_open_perf_events() [all …]
|
/linux-6.3-rc2/net/core/ |
A D | dst.c | 54 dst_init_metrics(dst, dst_default_metrics.metrics, true); in dst_init() 202 memcpy(p->metrics, old_p->metrics, sizeof(p->metrics)); in dst_cow_metrics_generic() 217 BUILD_BUG_ON(offsetof(struct dst_metrics, metrics) != 0); in dst_cow_metrics_generic()
|
/linux-6.3-rc2/tools/perf/tests/shell/ |
A D | stat_all_metrics.sh | 6 for m in $(perf list --raw-dump metrics); do
|
/linux-6.3-rc2/Documentation/scheduler/ |
A D | schedutil.rst | 14 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-6.3-rc2/include/net/ |
A D | ip_fib.h | 150 #define fib_mtu fib_metrics->metrics[RTAX_MTU-1] 151 #define fib_window fib_metrics->metrics[RTAX_WINDOW-1] 152 #define fib_rtt fib_metrics->metrics[RTAX_RTT-1] 153 #define fib_advmss fib_metrics->metrics[RTAX_ADVMSS-1]
|