#include <libzth/macros.h>
#include <libzth/init.h>
#include <cstddef>
#include <sys/time.h>
#include <cstdint>
#include <memory>
#include "zth_config.h"
Go to the source code of this file.
|
| bool | zth::config (int env, bool whenUnset) |
| | Checks if a given environment option is set.
|
| |
| void | zth::checkConfig (int check, size_t value) |
| | Check if a given Config field is the same as the given value.
|
| |
◆ ZTH_CHECK
| #define ZTH_CHECK |
( |
|
x | ) |
checkConfig(Check::Config_##x, (size_t)Config::x); |
◆ ZTH_CONFIG_MIN_TIMESLICE_
| #define ZTH_CONFIG_MIN_TIMESLICE_ 100000 |
◆ ZTH_CONFIG_TIMESLICE_OVERRUN_REPORT_THRESHOLD_
| #define ZTH_CONFIG_TIMESLICE_OVERRUN_REPORT_THRESHOLD_ 10000000 |
◆ ZTH_CONSTEXPR_RETURN
| #define ZTH_CONSTEXPR_RETURN |
( |
|
type, |
|
|
|
... |
|
) |
| return {__VA_ARGS__}; |