|
RPNX::QueryGraph
Typed, memoized, concurrent query evaluation for C++23
|
Configure cumulative node self-time diagnostics. More...
#include <querygraph.hpp>
Public Attributes | |
| bool | enable_timing = true |
| Collect node self-time and emit timing diagnostics when enabled. | |
| std::chrono::nanoseconds | long_running_node_threshold = std::chrono::milliseconds(100) |
| Completion diagnostics require self-time greater than this duration. | |
| std::chrono::nanoseconds | long_running_progress_threshold = std::chrono::seconds(1) |
| Progress diagnostics additionally require this much self-time. Progress is checked after coroutine resumptions, including suspensions. | |
| std::function< void(std::string const &) > | timing_logger |
| Receive complete timing messages, including a trailing newline. The default writes to standard error. An empty function suppresses timing messages. Calls are serialized per graph on scheduler worker threads. The callback must not throw or execute requests using the same scheduler. The message reference is valid during the call. | |
Configure cumulative node self-time diagnostics.
Definition at line 1054 of file querygraph.hpp.
| bool rpnx::querygraph::debug_abi::graph::options::enable_timing = true |
Collect node self-time and emit timing diagnostics when enabled.
Definition at line 1057 of file querygraph.hpp.
| std::chrono::nanoseconds rpnx::querygraph::debug_abi::graph::options::long_running_node_threshold = std::chrono::milliseconds(100) |
Completion diagnostics require self-time greater than this duration.
Definition at line 1059 of file querygraph.hpp.
| std::chrono::nanoseconds rpnx::querygraph::debug_abi::graph::options::long_running_progress_threshold = std::chrono::seconds(1) |
Progress diagnostics additionally require this much self-time. Progress is checked after coroutine resumptions, including suspensions.
Definition at line 1064 of file querygraph.hpp.
| std::function< void(std::string const&) > rpnx::querygraph::debug_abi::graph::options::timing_logger |
Receive complete timing messages, including a trailing newline. The default writes to standard error. An empty function suppresses timing messages. Calls are serialized per graph on scheduler worker threads. The callback must not throw or execute requests using the same scheduler. The message reference is valid during the call.
Definition at line 1072 of file querygraph.hpp.