![]() |
Spicy
|
#include <configuration.h>
Public Attributes | |
| size_t | fiber_individual_stack_size = static_cast<size_t>(1 * 1024 * 1024) |
| size_t | fiber_shared_stack_size = static_cast<size_t>(1 * 1024 * 1024) |
| size_t | fiber_shared_stack_swap_size_min = static_cast<size_t>(10 * 1024) |
| unsigned int | fiber_cache_size = 200 |
| size_t | fiber_min_stack_size = static_cast<size_t>(20 * 1024) |
| std::optional< hilti::rt::filesystem::path > | debug_out |
| bool | show_backtraces = false |
| bool | abort_on_exceptions = false |
| bool | report_resource_usage = false |
| bool | enable_profiling = false |
| std::string | debug_streams |
| std::optional< std::reference_wrapper< std::ostream > > | cout |
Configuration parameters for the HILTI runtime system.
| bool hilti::rt::Configuration::abort_on_exceptions = false |
abort() instead of throwing HILTI exceptions.
| std::optional<std::reference_wrapper<std::ostream> > hilti::rt::Configuration::cout |
Output stream for hilti::print(). If unset, printing will be silenced.
| std::optional<hilti::rt::filesystem::path> hilti::rt::Configuration::debug_out |
File where debug output is to be sent. Default is stderr.
| std::string hilti::rt::Configuration::debug_streams |
Colon-separated list of debug streams to enable. Default comes from HILTI_DEBUG.
| bool hilti::rt::Configuration::enable_profiling = false |
Enable execution profiling, producing a report at termination. Collecting the data requires compiling HILTI code with profiling instrumentation.
| unsigned int hilti::rt::Configuration::fiber_cache_size = 200 |
Max. number of fibers cached for reuse.
| size_t hilti::rt::Configuration::fiber_individual_stack_size = static_cast<size_t>(1 * 1024 * 1024) |
Stack size for fibers with individual stacks.
| size_t hilti::rt::Configuration::fiber_min_stack_size = static_cast<size_t>(20 * 1024) |
Minimum stack size that a fiber must have left for use at beginning of a function's execution. This should leave enough headroom for (1) the current function to still execute and do another call, and (2) safely abort with an exception if we're getting too low. (It seems that the latter can require quite a bit of space, hence the large default here.)
| size_t hilti::rt::Configuration::fiber_shared_stack_size = static_cast<size_t>(1 * 1024 * 1024) |
Stack size for shared fiber stack.
| size_t hilti::rt::Configuration::fiber_shared_stack_swap_size_min = static_cast<size_t>(10 * 1024) |
Minimum size of a fiber's buffer for swapped out stack content.
| bool hilti::rt::Configuration::report_resource_usage = false |
Print summary of runtime resource usage at termination.
| bool hilti::rt::Configuration::show_backtraces = false |
Show backtraces when reporting unhandled exceptions.