Udipe 1.0
Solving the riddle of high-throughput UDP
Loading...
Searching...
No Matches
Data Fields
udipe_config_s Struct Reference

#include <context.h>

Data Fields

udipe_log_config_t log
 
udipe_buffer_configurator_t buffer
 

Detailed Description

Core libudipe configuration

This data structure is used to configure the behavior of udipe_initialize(). It is designed such that zero-initializing it should result in sane defaults for many applications.

Examples
configure_buffering.c, context_lifecycle.c, and log_to_tempfile.c.

Field Documentation

◆ buffer

udipe_buffer_configurator_t udipe_config_s::buffer

Buffering configuration

This member controls libudipe's memory management behavior. By default, worker threads attempt to achieve good cache locality while handling a fair amount of concurrent requests by dedicating an L1-sized cache budget to each request and an L2-sized cache budget to the set of all concurrently handled requests.

Examples
configure_buffering.c.

◆ log

udipe_log_config_t udipe_config_s::log

Logging configuration

This member controls libudipe's logging behavior. By default, status messages are logged to stderr when they have priority >= INFO , and in Debug builds messages of priority DEBUG are logged too.

Examples
log_to_tempfile.c.

The documentation for this struct was generated from the following file: