| /f-stack/dpdk/drivers/net/mlx5/ |
| H A D | mlx5_stats.c | 42 uint64_t counters[n]; in mlx5_xstats_get() local 55 ret = mlx5_os_read_dev_counters(dev, counters); in mlx5_xstats_get() 64 stats[i].value = (counters[i] - in mlx5_xstats_get() 75 (counters[i] - xstats_ctrl->base[i]); in mlx5_xstats_get() 220 uint64_t *counters; in mlx5_xstats_reset() local 231 counters = mlx5_malloc(MLX5_MEM_SYS, sizeof(*counters) * in mlx5_xstats_reset() 234 if (!counters) { in mlx5_xstats_reset() 241 ret = mlx5_os_read_dev_counters(dev, counters); in mlx5_xstats_reset() 245 mlx5_free(counters); in mlx5_xstats_reset() 249 xstats_ctrl->base[i] = counters[i]; in mlx5_xstats_reset() [all …]
|
| H A D | mlx5_flow_verbs.c | 272 cnt = TAILQ_FIRST(&pool->counters[0]); in flow_verbs_counter_new() 311 TAILQ_REMOVE(&pool->counters[0], cnt, next); in flow_verbs_counter_new() 329 TAILQ_INSERT_HEAD(&pool->counters[0], cnt, next); in flow_verbs_counter_new() 361 TAILQ_INSERT_HEAD(&pool->counters[0], cnt, next); in flow_verbs_counter_release() 382 uint64_t counters[2] = {0, 0}; in flow_verbs_counter_query() local 390 .out = counters, in flow_verbs_counter_query() 398 RTE_DIM(counters), in flow_verbs_counter_query() 409 qc->hits = counters[0] - cnt->hits; in flow_verbs_counter_query() 410 qc->bytes = counters[1] - cnt->bytes; in flow_verbs_counter_query() 412 cnt->hits = counters[0]; in flow_verbs_counter_query() [all …]
|
| /f-stack/dpdk/doc/guides/contributing/ |
| H A D | design.rst | 88 When this flag is set, all the counters supported by current library are 99 counters is turned on or off for the current library. In practical terms, this 101 statistics counters and the statistics related API functions are always built 105 When the collection of statistics counters for the current library is turned 114 an application to monitor the library-level run-time events. Typical counters 119 have to be spent out of the application budget and the counters collected by 123 statistics counters should be turned on or off for each library individually. 125 Library-level statistics counters can be relevant or not for specific 128 * For Application A, counters maintained by Library X are always relevant and 152 counters collection turned on. [all …]
|
| /f-stack/dpdk/drivers/vdpa/mlx5/ |
| H A D | mlx5_vdpa_virtq.c | 106 if (virtq->counters) { in mlx5_vdpa_virtqs_release() 107 claim_zero(mlx5_devx_cmd_destroy(virtq->counters)); in mlx5_vdpa_virtqs_release() 108 virtq->counters = NULL; in mlx5_vdpa_virtqs_release() 255 if (!virtq->counters) in mlx5_vdpa_virtq_setup() 256 virtq->counters = mlx5_devx_cmd_create_virtio_q_counters in mlx5_vdpa_virtq_setup() 258 if (!virtq->counters) { in mlx5_vdpa_virtq_setup() 263 attr.counters_obj_id = virtq->counters->id; in mlx5_vdpa_virtq_setup() 568 if (!virtq->counters) { in mlx5_vdpa_virtq_stats_get() 573 ret = mlx5_devx_cmd_query_virtio_q_counters(virtq->counters, &attr); in mlx5_vdpa_virtq_stats_get() 624 if (!virtq->counters) { in mlx5_vdpa_virtq_stats_reset() [all …]
|
| /f-stack/dpdk/drivers/crypto/dpaa2_sec/mc/ |
| H A D | dpseci.c | 514 struct dpseci_sec_counters *counters) in dpseci_get_sec_counters() argument 532 counters->dequeued_requests = in dpseci_get_sec_counters() 534 counters->ob_enc_requests = le64_to_cpu(rsp_params->ob_enc_requests); in dpseci_get_sec_counters() 535 counters->ib_dec_requests = le64_to_cpu(rsp_params->ib_dec_requests); in dpseci_get_sec_counters() 536 counters->ob_enc_bytes = le64_to_cpu(rsp_params->ob_enc_bytes); in dpseci_get_sec_counters() 537 counters->ob_prot_bytes = le64_to_cpu(rsp_params->ob_prot_bytes); in dpseci_get_sec_counters() 538 counters->ib_dec_bytes = le64_to_cpu(rsp_params->ib_dec_bytes); in dpseci_get_sec_counters() 539 counters->ib_valid_bytes = le64_to_cpu(rsp_params->ib_valid_bytes); in dpseci_get_sec_counters()
|
| /f-stack/dpdk/drivers/common/mlx5/linux/ |
| H A D | mlx5_glue.c | 312 mlx5_glue_destroy_counters(struct ibv_counters *counters) in mlx5_glue_destroy_counters() argument 315 (void)counters; in mlx5_glue_destroy_counters() 318 return ibv_destroy_counters(counters); in mlx5_glue_destroy_counters() 323 mlx5_glue_attach_counters(struct ibv_counters *counters, in mlx5_glue_attach_counters() argument 328 (void)counters; in mlx5_glue_attach_counters() 333 return ibv_attach_counters_point_flow(counters, attr, flow); in mlx5_glue_attach_counters() 338 mlx5_glue_query_counters(struct ibv_counters *counters, in mlx5_glue_query_counters() argument 344 (void)counters; in mlx5_glue_query_counters() 350 return ibv_read_counters(counters, counters_value, ncounters, flags); in mlx5_glue_query_counters()
|
| H A D | mlx5_glue.h | 200 int (*destroy_counters)(struct ibv_counters *counters); 201 int (*attach_counters)(struct ibv_counters *counters, 204 int (*query_counters)(struct ibv_counters *counters,
|
| /f-stack/tools/netstat/ |
| H A D | main.c | 872 u_long *counters; in kread_counters() local 884 if ((counters = malloc(n * sizeof(u_long))) == NULL) in kread_counters() 886 if (kread(addr, counters, n * sizeof(u_long)) < 0) { in kread_counters() 887 free(counters); in kread_counters() 893 c[i] = kvm_counter_u64_fetch(kvmd, counters[i]); in kread_counters() 895 free(counters); in kread_counters()
|
| /f-stack/dpdk/doc/guides/prog_guide/ |
| H A D | profile_app.rst | 14 Intel processors provide performance counters to monitor events. 21 The main situations that should be monitored through event counters are: 42 The ARM64 architecture provide performance counters to monitor events. The
|
| H A D | traffic_metering_and_policing.rst | 47 packet. Statistics counters are maintained for MTR object, as configured. 72 * Statistics: The set of counters maintained for each MTR object is
|
| /f-stack/freebsd/contrib/device-tree/Bindings/arc/ |
| H A D | archs-pct.txt | 5 are 100+ hardware conditions dynamically mapped to up to 32 counters.
|
| H A D | pct.txt | 5 are 100+ hardware conditions dynamically mapped to up to 32 counters
|
| /f-stack/freebsd/contrib/device-tree/Bindings/timer/ |
| H A D | nuvoton,npcm7xx-timer.txt | 4 timer counters.
|
| H A D | energymicro,efm32-timer.txt | 3 The efm32 Giant Gecko SoCs come with four 16 bit timers. Two counters can be
|
| H A D | nvidia,tegra210-timer.txt | 3 The Tegra210 timer provides fourteen 29-bit timer counters and one 32-bit
|
| /f-stack/freebsd/contrib/device-tree/Bindings/soc/microchip/ |
| H A D | atmel,at91rm9200-tcb.yaml | 14 timer has three channels with two counters each. 55 description: The timer block channels that are used as timers or counters.
|
| /f-stack/freebsd/contrib/device-tree/Bindings/watchdog/ |
| H A D | digicolor-wdt.txt | 5 timer counters. The first timer (called "Timer A") is the only one that can be
|
| H A D | nuvoton,npcm-wdt.txt | 3 Nuvoton NPCM timer module provides five 24-bit timer counters, and a watchdog.
|
| /f-stack/freebsd/contrib/device-tree/Bindings/rtc/ |
| H A D | nvidia,tegra20-rtc.txt | 3 The Tegra RTC maintains seconds and milliseconds counters, and five alarm
|
| /f-stack/freebsd/contrib/device-tree/Bindings/arm/ |
| H A D | arm-dsu-pmu.txt | 6 the operations of the DSU. The PMU provides independent 32bit counters that
|
| /f-stack/dpdk/drivers/net/bnx2x/ |
| H A D | bnx2x_stats.c | 851 struct stats_counter *counters = &sc->fw_stats_data->storm_counters; in bnx2x_storm_stats_validate_counters() local 861 if (le16toh(counters->xstats_counter) != cur_stats_counter) { in bnx2x_storm_stats_validate_counters() 865 le16toh(counters->xstats_counter), sc->stats_counter); in bnx2x_storm_stats_validate_counters() 869 if (le16toh(counters->ustats_counter) != cur_stats_counter) { in bnx2x_storm_stats_validate_counters() 873 le16toh(counters->ustats_counter), sc->stats_counter); in bnx2x_storm_stats_validate_counters() 877 if (le16toh(counters->cstats_counter) != cur_stats_counter) { in bnx2x_storm_stats_validate_counters() 881 le16toh(counters->cstats_counter), sc->stats_counter); in bnx2x_storm_stats_validate_counters() 885 if (le16toh(counters->tstats_counter) != cur_stats_counter) { in bnx2x_storm_stats_validate_counters() 889 le16toh(counters->tstats_counter), sc->stats_counter); in bnx2x_storm_stats_validate_counters()
|
| /f-stack/freebsd/netgraph/bluetooth/l2cap/ |
| H A D | TODO | 28 5) Add bytes/packets counters and commands to get/reset them
|
| /f-stack/freebsd/contrib/openzfs/config/ |
| H A D | kernel-generic_io_acct.m4 | 73 dnl # iostat counters without generic_make_request().
|
| /f-stack/freebsd/contrib/device-tree/Bindings/clock/sifive/ |
| H A D | fu540-prci.txt | 13 and cycle counters.
|
| /f-stack/tools/compat/include/netpfil/pf/ |
| H A D | pf.h | 187 uint64_t counters[PFRES_MAX]; member
|