|
Condy v1.9
C++ Asynchronous System Call Layer for Linux
|
Settings manager for io_uring. More...
#include <ring_settings.hpp>
Public Member Functions | |
| int | apply_iowq_aff (size_t cpusz, const cpu_set_t *mask) noexcept |
| Apply I/O worker queue affinity settings. | |
| int | remove_iowq_aff () noexcept |
| Remove I/O worker queue affinity settings. | |
| int | set_iowq_max_workers (unsigned int *values) noexcept |
| Set the maximum number of I/O workers. | |
| io_uring_probe * | get_probe () noexcept |
| Get the io_uring probe for the ring. | |
| uint32_t | get_features () const noexcept |
| Get the supported features of the ring. | |
Settings manager for io_uring.
This class provides an interface to manage various runtime settings for an io_uring instance, including NAPI, clock, and other features.
Definition at line 162 of file ring_settings.hpp.
|
inlinenoexcept |
Apply I/O worker queue affinity settings.
See io_uring_register_iowq_aff for more details.
| cpusz | Number of CPUs in the affinity mask. |
| mask | Pointer to the CPU affinity mask. |
Definition at line 182 of file ring_settings.hpp.
|
inlinenoexcept |
Get the supported features of the ring.
Definition at line 220 of file ring_settings.hpp.
|
inlinenoexcept |
Get the io_uring probe for the ring.
Definition at line 208 of file ring_settings.hpp.
|
inlinenoexcept |
Remove I/O worker queue affinity settings.
Definition at line 189 of file ring_settings.hpp.
|
inlinenoexcept |
Set the maximum number of I/O workers.
See io_uring_register_iowq_max_workers for more details.
| values | Pointer to an array with 2 elements representing the max_workers |
Definition at line 199 of file ring_settings.hpp.