Home
last modified time | relevance | path

Searched refs:metric (Results 1 – 25 of 111) sorted by relevance

12345

/linux-6.15/tools/testing/selftests/net/forwarding/
H A Dfib_offload_lib.sh187 local metric
197 for metric in $(seq 1024 1026); do
198 ip -n $ns route add 192.0.2.0/24 dev dummy1 metric $metric
324 local metric
333 for metric in $(seq 1 20); do
334 ip -n $ns route add 192.0.2.0/24 dev dummy1 metric $metric
707 ip -n $ns route del 2001:db8:10::/64 metric 1025
721 ip -n $ns route del 2001:db8:10::/64 metric 1024
747 ip -n $ns route del 2001:db8:10::/64 metric 1024
760 ip -n $ns route del 2001:db8:10::/64 metric 1025
[all …]
/linux-6.15/fs/ceph/
H A Dmetric.c204 mdsc->metric.session = s; in metric_get_session()
238 struct ceph_metric *metric; in ceph_metric_init() local
263 metric = &m->metric[i]; in ceph_metric_init()
265 metric->size_sum = 0; in ceph_metric_init()
266 metric->size_min = U64_MAX; in ceph_metric_init()
267 metric->size_max = 0; in ceph_metric_init()
268 metric->total = 0; in ceph_metric_init()
269 metric->latency_sum = 0; in ceph_metric_init()
270 metric->latency_avg = 0; in ceph_metric_init()
271 metric->latency_sq_sum = 0; in ceph_metric_init()
[all …]
H A Dmetric.h177 struct ceph_metric metric[METRIC_MAX]; member
220 ceph_update_metrics(&m->metric[METRIC_READ], in ceph_update_read_metrics()
227 ceph_update_metrics(&m->metric[METRIC_WRITE], in ceph_update_write_metrics()
234 ceph_update_metrics(&m->metric[METRIC_METADATA], in ceph_update_metadata_metrics()
241 ceph_update_metrics(&m->metric[METRIC_COPYFROM], in ceph_update_copyfrom_metrics()
H A Ddebugfs.c152 struct ceph_client_metric *m = &fsc->mdsc->metric; in metrics_file_show()
176 struct ceph_client_metric *cm = &fsc->mdsc->metric; in metrics_latency_show()
185 m = &cm->metric[i]; in metrics_latency_show()
202 struct ceph_client_metric *cm = &fsc->mdsc->metric; in metrics_size_show()
215 m = &cm->metric[i]; in metrics_size_show()
232 struct ceph_client_metric *m = &fsc->mdsc->metric; in metrics_caps_show()
/linux-6.15/tools/testing/selftests/drivers/net/mlxsw/
H A Dfib_offload.sh79 ip -6 route add 2001:db8:3::/64 dev $spine_p1 metric 100
93 ip -6 route append 2001:db8:3::/64 dev $spine_p1 metric 10
117 ip -6 route add 2001:db8:3::/64 metric 100 \
124 ip -6 route append 2001:db8:3::/64 metric 100 \
132 ip -6 route add 2001:db8:3::/64 metric 100 \
140 ip -6 route append 2001:db8:3::/64 metric 200 \
149 ip -6 route append 2001:db8:3::/64 metric 10 \
174 ip -6 route add 2001:db8:3::/64 metric 100 dev $spine_p1
182 ip -6 route replace 2001:db8:3::/64 metric 100 \
197 ip -6 route replace 2001:db8:3::/64 metric 100 \
[all …]
/linux-6.15/tools/perf/pmu-events/
H A Djevents.py8 import metric
132 if metric:
436 s = self.build_c_string(metric)
575 if metric.pmu != last_pmu:
582 last_pmu = metric.pmu
583 pmus.add((metric.pmu, pmu_name))
585 _args.output_file.write(metric.to_c_string(metric=True))
629 _bcs.add(mgroup, metric=True)
639 _bcs.add(event.build_c_string(metric=False), metric=False)
641 _bcs.add(pmu_name, metric=True)
[all …]
H A Dmetric_test.py4 from metric import Constant
5 from metric import Event
6 from metric import Expression
7 from metric import ParsePerfJson
8 from metric import RewriteMetricsInTermsOfOthers
/linux-6.15/tools/perf/util/
H A Dmetricgroup.c123 struct metric { struct
219 struct metric *m; in metric__new()
1069 .metric = metric, in metricgroup__find_metric()
1145 const struct metric *left = container_of(l, struct metric, nd); in metric_list_cmp()
1146 const struct metric *right = container_of(r, struct metric, nd); in metric_list_cmp()
1174 const struct metric *left = container_of(l, struct metric, nd); in default_metricgroup_cmp()
1175 const struct metric *right = container_of(r, struct metric, nd); in default_metricgroup_cmp()
1380 struct metric *m; in find_tool_events()
1407 struct metric *m; in build_combined_expr_ctx()
1538 struct metric *m; in parse_groups()
[all …]
/linux-6.15/include/net/
H A Ddst.h165 dst_metric_raw(const struct dst_entry *dst, const int metric) in dst_metric_raw() argument
169 return p[metric-1]; in dst_metric_raw()
173 dst_metric(const struct dst_entry *dst, const int metric) in dst_metric() argument
175 WARN_ON_ONCE(metric == RTAX_HOPLIMIT || in dst_metric()
176 metric == RTAX_ADVMSS || in dst_metric()
177 metric == RTAX_MTU); in dst_metric()
178 return dst_metric_raw(dst, metric); in dst_metric()
197 p[metric-1] = val; in dst_metric_set()
222 return msecs_to_jiffies(dst_metric(dst, metric)); in dst_metric_rtt()
226 dst_metric_locked(const struct dst_entry *dst, int metric) in dst_metric_locked() argument
[all …]
/linux-6.15/tools/perf/Documentation/
H A Dtopdown.txt40 metric register that reports slots ratios for the different bottleneck
53 metric event, and allow user programs to read the performance counters.
58 The metric events are mapped to the pseudo event event=0x00, umask=0x8X.
60 { .config = 0x8000, .type = PERF_TYPE_RAW } for Retiring metric event
124 #define RDPMC_METRIC (1 << 29) /* return metric counters */
158 The binary ratios in the metric value can be converted to float ratios:
162 /* L1 Topdown metric events */
169 * L2 Topdown metric events.
179 The ratios in the metric accumulate for the time when the counter
296 Four pseudo TopDown metric events are exposed for the end-users,
[all …]
H A Dperf-stat.txt278 If the metric exists, it is calculated by the counts generated in this interval and the metric is p…
293 --metric-only::
353 --metric-no-group::
362 --metric-no-merge::
372 --metric-no-threshold::
379 color the metric's computed value.
481 This enables --metric-only, unless overridden with --no-metric-only.
623 - optional metric value
624 - optional unit of metric
648 - metric-value : optional metric value
[all …]
/linux-6.15/Documentation/netlink/specs/
H A Dnet_shaper.yaml61 name: metric
62 doc: Different metric supported by the shaper.
81 name: metric
83 enum: metric
169 name: support-metric-bps
173 name: support-metric-pps
224 - metric
255 - metric
318 - metric
346 - support-metric-bps
[all …]
/linux-6.15/Documentation/networking/
H A Dvrf.rst320 unreachable default metric 4278198272
331 local 2002:1:: dev lo proto none metric 0 pref medium
332 local 2002:1::2 dev lo proto none metric 0 pref medium
334 local 2002:2:: dev lo proto none metric 0 pref medium
335 local 2002:2::2 dev lo proto none metric 0 pref medium
337 local fe80:: dev lo proto none metric 0 pref medium
338 local fe80:: dev lo proto none metric 0 pref medium
341 fe80::/64 dev eth1 proto kernel metric 256 pref medium
343 ff00::/8 dev red metric 256 pref medium
344 ff00::/8 dev eth1 metric 256 pref medium
[all …]
/linux-6.15/Documentation/userspace-api/media/dvb/
H A Dfrontend-stat-properties.rst20 plus one metric per each carrier group (called "layer" on ISDB).
24 to the global metric. The other elements of the array represent each
61 Possible scales for this metric are:
80 Possible scales for this metric are:
111 Possible scales for this metric are:
139 Possible scales for this metric are:
168 Possible scales for this metric are:
196 Possible scales for this metric are:
217 Possible scales for this metric are:
239 Possible scales for this metric are:
/linux-6.15/tools/perf/tests/shell/lib/
H A Dperf_metric_validation.py11 …def __init__(self, metric: list[str], wl: str, value: list[float], low: float, up=float('nan'), de…
12 self.metric: list = metric # multiple metrics in relationship type tests
20 if len(self.metric) > 1:
33 .format(self.metric, self.collectedValue, self.workloads,
378 def _run_perf(self, metric, workload: str): argument
415 for metric in metrics:
416 data = self._run_perf(metric, wl)
424 for metric in collectlist:
425 data = self._run_perf(metric, workload)
H A Dstat_output.sh154 perf stat --metric-only $2 -e instructions,cycles true
155 commachecker --metric-only
/linux-6.15/samples/bpf/
H A Dxdp_router_ipv4_user.c101 int dst_len, iface, metric; in read_route() member
152 route.metric = atoi(metrics); in read_route()
161 int metric; in read_route() member
198 prefix_value->metric = route.metric; in read_route()
223 route.metric >= prefix_value->metric) { in read_route()
233 prefix_value->metric = route.metric; in read_route()
/linux-6.15/Documentation/translations/zh_TW/admin-guide/mm/damon/
H A Dusage.rst78 │ │ │ │ │ │ │ watermarks/metric,interval_us,high,mid,low
258 在水位目錄下,存在五個文件(``metric``, ``interval_us``,``high``, ``mid``, and ``low``)
261 可以寫入 ``metric`` 文件的關鍵詞和含義如下。
324 # echo free_mem_rate > watermarks/metric
/linux-6.15/Documentation/translations/zh_CN/admin-guide/mm/damon/
H A Dusage.rst78 │ │ │ │ │ │ │ watermarks/metric,interval_us,high,mid,low
258 在水位目录下,存在五个文件(``metric``, ``interval_us``,``high``, ``mid``, and ``low``)
261 可以写入 ``metric`` 文件的关键词和含义如下。
324 # echo free_mem_rate > watermarks/metric
/linux-6.15/drivers/net/wireless/ti/wlcore/
H A Devent.c114 s8 metric = metric_arr[0]; in wlcore_event_rssi_trigger() local
116 wl1271_debug(DEBUG_EVENT, "RSSI trigger metric: %d", metric); in wlcore_event_rssi_trigger()
120 if (metric <= wlvif->rssi_thold) in wlcore_event_rssi_trigger()
127 ieee80211_cqm_rssi_notify(vif, event, metric, in wlcore_event_rssi_trigger()
/linux-6.15/mm/damon/
H A Dsysfs-schemes.c761 enum damos_wmark_metric metric; member
778 watermarks->metric = metric; in damon_sysfs_watermarks_alloc()
807 enum damos_wmark_metric metric; in metric_store() local
809 for (metric = 0; metric < NR_DAMOS_WMARK_METRICS; metric++) { in metric_store()
811 watermarks->metric = metric; in metric_store()
900 __ATTR_RW_MODE(metric, 0600);
936 enum damos_quota_goal_metric metric; member
971 goal->metric = m; in target_metric_store()
2119 goal = damos_new_quota_goal(sysfs_goal->metric, in damos_sysfs_add_quota_score()
2123 if (sysfs_goal->metric == DAMOS_QUOTA_USER_INPUT) in damos_sysfs_add_quota_score()
[all …]
H A Dcore.c327 enum damos_quota_goal_metric metric, in damos_new_quota_goal() argument
335 goal->metric = metric; in damos_new_quota_goal()
760 dst->metric = src->metric; in damos_commit_quota_goal()
762 if (dst->metric == DAMOS_QUOTA_USER_INPUT) in damos_commit_quota_goal()
795 src_goal->metric, src_goal->target_value); in damos_commit_quota_goals()
1896 switch (goal->metric) { in damos_set_quota_goal_current_value()
2251 switch (metric) { in damos_get_wmark_metric_value()
2268 unsigned long metric; in damos_wmark_wait_us() local
2270 if (damos_get_wmark_metric_value(scheme->wmarks.metric, &metric)) in damos_wmark_wait_us()
2274 if (metric > scheme->wmarks.high || scheme->wmarks.low > metric) { in damos_wmark_wait_us()
[all …]
/linux-6.15/tools/perf/tests/shell/
H A Dstat+json_output.sh179 perf stat -j --metric-only -e instructions,cycles -o "${stat_output}" true
180 $PYTHON $pythonchecker --metric-only --file "${stat_output}"
/linux-6.15/net/mac80211/
H A Dmesh_hwmp.c105 u32 lifetime, u32 metric, u32 preq_id, in mesh_path_sel_frame_tx() argument
177 put_unaligned_le32(metric, pos); in mesh_path_sel_frame_tx()
467 !is_metric_better(new_metric, mpath->metric) : in hwmp_route_info_get()
468 new_metric >= mpath->metric))) { in hwmp_route_info_get()
509 mpath->metric = new_metric; in hwmp_route_info_get()
542 !is_metric_better(last_hop_metric, mpath->metric) : in hwmp_route_info_get()
543 last_hop_metric > mpath->metric)))) in hwmp_route_info_get()
560 mpath->metric = last_hop_metric; in hwmp_route_info_get()
650 target_metric = mpath->metric; in hwmp_preq_frame_process()
719 const u8 *prep_elem, u32 metric) in hwmp_prep_frame_process() argument
[all …]
/linux-6.15/tools/testing/selftests/damon/
H A D_damon_sysfs.py89 metric = None variable in DamosQuotaGoal
96 def __init__(self, metric, target_value=10000, current_value=0): argument
97 self.metric = metric
106 self.metric)

12345