API Reference Manual  1.45.0
spec/threshold.h File Reference

ODP threshold descriptor. More...

#include <odp/visibility_begin.h>
#include <odp/api/std_types.h>
#include <odp/visibility_end.h>
Include dependency graph for spec/threshold.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

union  odp_threshold_types_t
 Supported threshold types. More...
 
struct  odp_threshold_t
 ODP Threshold. More...
 

Typedefs

typedef union odp_threshold_types_t odp_threshold_types_t
 Supported threshold types. More...
 
typedef enum odp_threshold_type_t odp_threshold_type_t
 ODP Threshold types. More...
 
typedef struct odp_threshold_t odp_threshold_t
 ODP Threshold. More...
 

Enumerations

enum  odp_threshold_type_t { ODP_THRESHOLD_PERCENT , ODP_THRESHOLD_PACKET , ODP_THRESHOLD_BYTE }
 ODP Threshold types. More...
 

Detailed Description

ODP threshold descriptor.

Definition in file spec/threshold.h.

Typedef Documentation

◆ odp_threshold_types_t

Supported threshold types.

Supported threshold types in a bit field structure.

◆ odp_threshold_type_t

ODP Threshold types.

Different types of threshold measurements

◆ odp_threshold_t

ODP Threshold.

Threshold configuration

Enumeration Type Documentation

◆ odp_threshold_type_t

ODP Threshold types.

Different types of threshold measurements

Enumerator
ODP_THRESHOLD_PERCENT 

Percentage of the total size of pool or queue.

ODP_THRESHOLD_PACKET 

Total number of all transient packets.

ODP_THRESHOLD_BYTE 

Total size of all transient packets in bytes.

Definition at line 48 of file spec/threshold.h.