11 #ifndef ODP_API_SPEC_THRESHOLD_H_
12 #define ODP_API_SPEC_THRESHOLD_H_
14 #include <odp/visibility_begin.h>
103 #include <odp/visibility_end.h>
Standard C language types and definitions for ODP.
uint32_t odp_percent_t
Percentage type.
struct odp_threshold_t odp_threshold_t
ODP Threshold.
union odp_threshold_types_t odp_threshold_types_t
Supported threshold types.
odp_threshold_type_t
ODP Threshold types.
@ ODP_THRESHOLD_BYTE
Total size of all transient packets in bytes.
@ ODP_THRESHOLD_PERCENT
Percentage of the total size of pool or queue.
@ ODP_THRESHOLD_PACKET
Total number of all transient packets.
odp_threshold_type_t type
Type of threshold.
odp_percent_t max
Max percentage value.
struct odp_threshold_t::@151::@154 packet
Packet count.
struct odp_threshold_t::@151::@155 byte
Sum of all data bytes of all packets.
uint64_t max
Max packet count.
odp_percent_t min
Min percentage value.
uint64_t min
Min packet count.
struct odp_threshold_t::@151::@153 percent
Percentage.
Supported threshold types.
uint8_t bytes
Total size of all transient packets in bytes.
uint8_t all_bits
All bits of the bit field structure.
uint8_t percent
Percentage of the total size of pool or queue.
uint8_t packet
Total number of all transient packets.