1mod adapter_bundle;
2mod audit;
3mod bundle;
4mod compatibility;
5mod doctor;
6mod host;
7mod platform;
8mod registry;
9mod runner;
10mod snapshot;
11mod spec;
12mod tuning;
13
14pub use byteor_ops::MlockallPreset;
15pub use byteor_ops::PinningPreset;
16pub use byteor_ops::SchedPreset;
17pub use byteor_pipeline_exec::WaitPreset;
18
19pub use adapter_bundle::{
20 default_bundle_config_path, load_single_ring_bundle_adapter_bindings, open_egress_endpoint,
21 open_ingress_endpoint, BundleAdapterBindings, EgressEndpointConfig, IngressEndpointConfig,
22};
23pub use audit::{policy_audit_record_for_spec, policy_audit_record_for_spec_with_tuning};
24pub use bundle::incident_bundle;
25pub use compatibility::{
26 compatibility_report_for_document, compatibility_report_for_spec, CompatibilityReport,
27 StageCompatibilityRequirement, StageRequirementSource,
28};
29pub use doctor::{doctor, doctor_with_tuning, eprint_human, Check, Report};
30pub use host::ShmRuntimeContext;
31pub use platform::{
32 apply_mlockall_preset, apply_pinning_for_current_thread, apply_sched_preset,
33 pin_current_thread_to_cpu,
34};
35pub use registry::{
36 default_runtime_capability_document, default_stage_catalog_entries, default_stage_registry,
37 DefaultApp, RuntimeApp,
38};
39pub use runner::{
40 parse_run_input, run_kv_v1_single_ring_supervised_until_stop,
41 run_kv_v1_single_ring_supervised_until_stop_and_pinning,
42 run_kv_v1_single_ring_supervised_until_stop_and_tuning,
43 run_kv_v1_single_ring_supervised_until_stop_with_resolver,
44 run_kv_v1_single_ring_supervised_until_stop_with_resolver_and_pinning,
45 run_kv_v1_single_ring_supervised_until_stop_with_resolver_and_tuning, run_sp_kv_v1_single_ring,
46 run_sp_kv_v1_single_ring_and_pinning, run_sp_kv_v1_single_ring_and_tuning,
47 run_sp_kv_v1_single_ring_with_resolver, run_sp_kv_v1_single_ring_with_resolver_and_pinning,
48 run_sp_kv_v1_single_ring_with_resolver_and_tuning,
49};
50pub use snapshot::{
51 default_lane_graph_shm_dir, snapshot_lane_graph_json, snapshot_single_ring_json,
52};
53pub use spec::{
54 canonical_encode_spec_kv_v1, describe_spec_kv_v1, dot_spec_kv_v1, read_spec_kv_v1,
55 validate_spec_kv_v1,
56};
57pub use tuning::{
58 effective_tuning_report, parse_wait_preset, profile_defaults,
59 thread_init_hook_for_pinning_best_effort, thread_init_hook_for_tuning,
60 tuning_config_error, tuning_host_readiness_error, EffectiveTuningAgentStatus,
61 EffectiveTuningHostObservations, EffectiveTuningReport, EffectiveTuningSettings,
62 ResolvedTuning, TuningCliState, TuningProfile,
63};
64
65pub mod stage {
67 pub use byteor_pipeline_exec::{ResolvedStage, StageError, StageResolver, StatefulStage};
68}
69
70#[cfg(test)]
71mod tests;