API Reference Manual
1.46.0
|
Stash capabilities (per stash type) More...
#include <stash_types.h>
Data Fields | |
uint32_t | max_stashes_any_type |
Maximum number of stashes of any type. | |
uint32_t | max_stashes |
Maximum number of stashes of this type. More... | |
uint64_t | max_num_obj |
Maximum common number of object handles per stash for any object size. More... | |
struct { | |
uint64_t u8 | |
Maximum number of 1 byte object handles. | |
uint64_t u16 | |
Maximum number of 2 byte object handles. | |
uint64_t u32 | |
Maximum number of 4 byte object handles. | |
uint64_t u64 | |
Maximum number of 8 byte object handles. | |
uint64_t u128 | |
Maximum number of 16 byte object handles. | |
uint64_t max_obj_size | |
Maximum number of 'max_obj_size' object handles. | |
} | max_num |
Maximum number of object handles per stash for each object size. More... | |
uint32_t | max_obj_size |
Maximum object handle size in bytes. More... | |
uint32_t | max_cache_size |
Maximum size of thread local cache. | |
uint32_t | max_get_batch |
Maximum number of object handles in batch get operations. More... | |
uint32_t | max_put_batch |
Maximum number of object handles in batch put operations. More... | |
odp_stash_stats_opt_t | stats |
Supported statistics counters. | |
Stash capabilities (per stash type)
Definition at line 146 of file api/spec/stash_types.h.
uint32_t odp_stash_capability_t::max_stashes |
Maximum number of stashes of this type.
The value of zero means that the requested stash type is not supported.
Definition at line 155 of file api/spec/stash_types.h.
uint64_t odp_stash_capability_t::max_num_obj |
Maximum common number of object handles per stash for any object size.
An application is able to store at least this many objects when using any of the supported object sizes. Some of the per object size values listed in 'max_num' may be larger than this common value.
Definition at line 163 of file api/spec/stash_types.h.
struct { ... } odp_stash_capability_t::max_num |
Maximum number of object handles per stash for each object size.
Values for unsupported object handle sizes are set to zero.
uint32_t odp_stash_capability_t::max_obj_size |
Maximum object handle size in bytes.
At least 4 byte object handle size is always supported.
Definition at line 193 of file api/spec/stash_types.h.
uint32_t odp_stash_capability_t::max_get_batch |
Maximum number of object handles in batch get operations.
At least 1 object batch size is always supported.
Definition at line 202 of file api/spec/stash_types.h.
uint32_t odp_stash_capability_t::max_put_batch |
Maximum number of object handles in batch put operations.
At least 1 object batch size is always supported.
Definition at line 208 of file api/spec/stash_types.h.