|
quill
|
Adding a benchmark for a another logger should be straight forward by duplicating and modifying this file. More...
#include <FrontendOptions.h>


Static Public Attributes | |
| static constexpr QueueType | queue_type = QueueType::UnboundedBlocking |
| Each frontend thread has its own queue, which can be configured with various options: More... | |
| static constexpr size_t | initial_queue_capacity = 128u * 1024u |
| Initial capacity of the queue. | |
| static constexpr uint32_t | blocking_queue_retry_interval_ns = 800 |
| Interval for retrying when using BoundedBlocking or UnboundedBlocking. More... | |
| static constexpr size_t | unbounded_queue_max_capacity = 2ull * 1024u * 1024u * 1024u |
| Maximum capacity for unbounded queues (UnboundedBlocking, UnboundedDropping). More... | |
| static constexpr HugePagesPolicy | huge_pages_policy = HugePagesPolicy::Never |
| Enables huge pages on the frontend queues to reduce TLB misses. More... | |
Adding a benchmark for a another logger should be straight forward by duplicating and modifying this file.
Frontend options are expressed as a traits type.
To override only a subset of options, derive from FrontendOptions and redeclare only the members that change. New members added to FrontendOptions will then be inherited automatically unless the derived type explicitly overrides them.
|
static |
Interval for retrying when using BoundedBlocking or UnboundedBlocking.
Applicable only when using BoundedBlocking or UnboundedBlocking.
|
static |
Enables huge pages on the frontend queues to reduce TLB misses.
Available only for Linux.
|
static |
Each frontend thread has its own queue, which can be configured with various options:
By default, the library uses an UnboundedBlocking queue, which starts with initial_queue_capacity.
|
static |
Maximum capacity for unbounded queues (UnboundedBlocking, UnboundedDropping).
This defines the maximum size to which the queue can grow before blocking or dropping messages.
1.8.13