API Reference Manual
1.46.0
|
Scheduler capabilities. More...
#include <schedule_types.h>
Data Fields | |
uint32_t | max_ordered_locks |
Maximum number of ordered locks per queue. | |
uint32_t | max_groups |
Maximum number of scheduling groups. More... | |
uint32_t | max_prios |
Number of scheduling priorities. | |
uint32_t | max_queues |
Maximum number of scheduled (ODP_BLOCKING) queues of the default size. | |
uint32_t | max_queue_size |
Maximum number of events a scheduled (ODP_BLOCKING) queue can store simultaneously. More... | |
uint32_t | max_flow_id |
Maximum flow ID per queue. More... | |
odp_support_t | lockfree_queues |
Lock-free (ODP_NONBLOCKING_LF) queues support. More... | |
odp_support_t | waitfree_queues |
Wait-free (ODP_NONBLOCKING_WF) queues support. More... | |
odp_support_t | order_wait |
Order wait support. More... | |
Scheduler capabilities.
Definition at line 202 of file api/spec/schedule_types.h.
uint32_t odp_schedule_capability_t::max_groups |
Maximum number of scheduling groups.
The value includes the enabled predefined scheduling groups (ODP_SCHED_GROUP_ALL, ODP_SCHED_GROUP_WORKER, and ODP_SCHED_GROUP_CONTROL). By default, an application can create 'max_groups' - 3 groups.
Definition at line 210 of file api/spec/schedule_types.h.
uint32_t odp_schedule_capability_t::max_queue_size |
Maximum number of events a scheduled (ODP_BLOCKING) queue can store simultaneously.
The value of zero means that scheduled queues do not have a size limit, but a single queue can store all available events.
Definition at line 223 of file api/spec/schedule_types.h.
uint32_t odp_schedule_capability_t::max_flow_id |
Maximum flow ID per queue.
Valid flow ID range in flow aware mode of scheduling is from 0 to this maximum value. So, maximum number of flows per queue is this value plus one. A value of 0 indicates that flow aware mode is not supported.
Definition at line 231 of file api/spec/schedule_types.h.
odp_support_t odp_schedule_capability_t::lockfree_queues |
Lock-free (ODP_NONBLOCKING_LF) queues support.
The specification is the same as for the blocking implementation.
Definition at line 235 of file api/spec/schedule_types.h.
odp_support_t odp_schedule_capability_t::waitfree_queues |
Wait-free (ODP_NONBLOCKING_WF) queues support.
The specification is the same as for the blocking implementation.
Definition at line 239 of file api/spec/schedule_types.h.
odp_support_t odp_schedule_capability_t::order_wait |
Order wait support.
If not supported, odp_schedule_order_wait() does nothing.
Definition at line 243 of file api/spec/schedule_types.h.