API Reference Manual
1.46.0
|
Timer capability. More...
#include <timer_types.h>
Data Fields | |
uint32_t | max_pools_combined |
Maximum number of timer pools. More... | |
uint32_t | max_pools |
Maximum number of timer pools for single shot timers (per clock source) More... | |
uint32_t | max_timers |
Maximum number of single shot timers in a pool. More... | |
uint64_t | highest_res_ns |
Highest timer resolution in nanoseconds. More... | |
odp_timer_res_capability_t | max_res |
Maximum resolution. More... | |
odp_timer_res_capability_t | max_tmo |
Maximum timeout length. More... | |
odp_bool_t | queue_type_sched |
Scheduled queue destination support. More... | |
odp_bool_t | queue_type_plain |
Plain queue destination support. More... | |
struct { | |
uint32_t max_pools | |
Maximum number of timer pools for periodic timers. More... | |
uint32_t max_timers | |
Maximum number of periodic timers in a pool. | |
odp_fract_u64_t min_base_freq_hz | |
Minimum supported base frequency value. | |
odp_fract_u64_t max_base_freq_hz | |
Maximum supported base frequency value. | |
} | periodic |
Periodic timer capabilities. | |
Timer capability.
Definition at line 123 of file api/spec/timer_types.h.
uint32_t odp_timer_capability_t::max_pools_combined |
Maximum number of timer pools.
The total number of timer pools that can be created combining both types and different clock sources.
Definition at line 129 of file api/spec/timer_types.h.
uint32_t odp_timer_capability_t::max_pools |
Maximum number of timer pools for single shot timers (per clock source)
Maximum number of timer pools for periodic timers.
When zero, periodic timers (ODP_TIMER_TYPE_PERIODIC) are not supported.
Definition at line 132 of file api/spec/timer_types.h.
uint32_t odp_timer_capability_t::max_timers |
Maximum number of single shot timers in a pool.
Maximum number of periodic timers in a pool.
The value of zero means that limited only by the available memory size for the pool.
Definition at line 138 of file api/spec/timer_types.h.
uint64_t odp_timer_capability_t::highest_res_ns |
Highest timer resolution in nanoseconds.
This defines the highest resolution supported by a timer. It's the minimum valid value for 'res_ns' timer pool parameter.
This value is equal to 'max_res.res_ns' capability.
Definition at line 148 of file api/spec/timer_types.h.
odp_timer_res_capability_t odp_timer_capability_t::max_res |
Maximum resolution.
This defines the highest resolution supported by a timer, with limits to min/max timeout values. The highest resolution for a timer pool is defined by 'max_res.res_ns' in nanoseconds and 'max_res.res_hz' in hertz. When this resolution is used:
Definition at line 161 of file api/spec/timer_types.h.
odp_timer_res_capability_t odp_timer_capability_t::max_tmo |
Maximum timeout length.
This defines the maximum relative timeout value supported by a timer, with limits to min timeout and max resolution values. The maximum value for 'max_tmo' timer pool parameter is defined by 'max_tmo.max_tmo'. When this max timeout value is used:
Definition at line 174 of file api/spec/timer_types.h.
odp_bool_t odp_timer_capability_t::queue_type_sched |
Scheduled queue destination support.
This defines whether schedule queues are supported as timeout destination queues. 0: Scheduled queues are not supported as timeout destination queues 1: Scheduled queues are supported as timeout destination queues
Definition at line 185 of file api/spec/timer_types.h.
odp_bool_t odp_timer_capability_t::queue_type_plain |
Plain queue destination support.
This defines whether plain queues are supported as timeout destination queues. 0: Plain queues are not supported as timeout destination queues 1: Plain queues are supported as timeout destination queues
Definition at line 196 of file api/spec/timer_types.h.