Home
last modified time | relevance | path

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

/f-stack/dpdk/doc/guides/prog_guide/
H A Dmetrics_lib.rst16 values contained within the metric library by calling an update function
17 on the relevant metrics. Consumers receive metric information by querying
18 the central metric data, which is held in shared memory.
20 For each metric, a separate value is maintained for each port id, and
21 when publishing metric values the producers need to specify which port is
32 ``rte_metrics_init()`` which sets up the metric store in shared memory.
33 This is where producers will publish metric information to, and where
74 Updating metric values
77 Once registered, producers can update the metric for a given port using
78 the ``rte_metrics_update_value()`` function. This uses the metric key
[all …]
/f-stack/freebsd/net80211/
H A Dieee80211_hwmp.c911 int metric = 0; in hwmp_update_transmitter() local
926 rttran->rt_metric > metric) in hwmp_update_transmitter()
934 rttran->rt_metric = metric; in hwmp_update_transmitter()
956 uint32_t metric = 0; in hwmp_recv_preq() local
1033 rtorig->rt_metric = metric; in hwmp_recv_preq()
1281 uint32_t metric = 0; in hwmp_recv_prep() local
1336 metric > rt->rt_metric) { in hwmp_recv_prep()
1340 metric, rt->rt_metric); in hwmp_recv_prep()
1351 rt->rt_metric, metric); in hwmp_recv_prep()
1356 rt->rt_metric = metric; in hwmp_recv_prep()
[all …]
H A Dieee80211_mesh.c3326 ieee80211_add_meshlmetric(uint8_t *frm, uint8_t flags, uint32_t metric) in ieee80211_add_meshlmetric() argument
3331 ADDWORD(frm, metric); in ieee80211_add_meshlmetric()
/f-stack/app/redis-5.0.5/src/
H A Dserver.c790 void trackInstantaneousMetric(int metric, long long current_reading) { in trackInstantaneousMetric() argument
791 long long t = mstime() - server.inst_metric[metric].last_sample_time; in trackInstantaneousMetric()
793 server.inst_metric[metric].last_sample_count; in trackInstantaneousMetric()
798 server.inst_metric[metric].samples[server.inst_metric[metric].idx] = in trackInstantaneousMetric()
800 server.inst_metric[metric].idx++; in trackInstantaneousMetric()
801 server.inst_metric[metric].idx %= STATS_METRIC_SAMPLES; in trackInstantaneousMetric()
802 server.inst_metric[metric].last_sample_time = mstime(); in trackInstantaneousMetric()
803 server.inst_metric[metric].last_sample_count = current_reading; in trackInstantaneousMetric()
807 long long getInstantaneousMetric(int metric) { in getInstantaneousMetric() argument
812 sum += server.inst_metric[metric].samples[j]; in getInstantaneousMetric()
/f-stack/dpdk/doc/guides/sample_app_ug/
H A Dl3_forward_power_man.rst444 values of all cores is reported as application level telemetry to metric