---
name: "rte_graph_cluster_stats_param"
section: "3"
platform: "linux"
package: "dpdk-doc"
version: "24.11.4-0+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/rte_graph_cluster_stats_param"
---

# rte\_graph\_cluster\_stats\_param(3)

## NAME

rte\_graph\_cluster\_stats\_param

## SYNOPSIS

`#include <rte_graph.h>`

### Data Fields

int **socket\_id**\
 **rte\_graph\_cluster\_stats\_cb\_t** **fn**\
 uint16\_t **nb\_graph\_patterns**\
 const char \*\* **graph\_patterns**\

## Detailed Description

Structure to hold configuration parameters for graph cluster stats create.

**See also**

**rte\_graph\_cluster\_stats\_create()**

Definition at line **183** of file **rte\_graph.h**.

## Field Documentation

### int socket\_id

Socket id where memory is allocated

Definition at line **184** of file **rte\_graph.h**.

### rte\_graph\_cluster\_stats\_cb\_t fn

Stats print callback function. NULL value allowed, in that case, default print stat function used.

Definition at line **186** of file **rte\_graph.h**.

### FILE\* f

File pointer to dump the stats when fn == NULL.

Definition at line **192** of file **rte\_graph.h**.

### uint16\_t nb\_graph\_patterns

Number of graph patterns.

Definition at line **194** of file **rte\_graph.h**.

### const char\*\* graph\_patterns

Array of graph patterns based on shell pattern.

Definition at line **195** of file **rte\_graph.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
