Crate byteor_runtime

Crate byteor_runtime 

Source

Modules§

stage
Re-exports of executor stage contracts for app integrations.

Structs§

BundleAdapterBindings
Check
One doctor/preflight check.
CompatibilityReport
Machine-readable compatibility report for a authored spec against a runtime surface.
DefaultApp
Default app hooks: only resolves identity.
EffectiveTuningAgentStatus
EffectiveTuningHostObservations
EffectiveTuningReport
EffectiveTuningSettings
Report
Doctor/preflight report.
ResolvedTuning
ShmRuntimeContext
StageCompatibilityRequirement
One stage-related compatibility requirement derived from a spec.
TuningCliState

Enums§

EgressEndpointConfig
IngressEndpointConfig
MlockallPreset
mlockall presets.
PinningPreset
Pinning presets.
SchedPreset
Scheduler tuning presets.
StageRequirementSource
How a stage requirement was satisfied in the report.
TuningProfile
WaitPreset
Wait/backoff policy presets for SingleRing hot loops.

Traits§

RuntimeApp
Minimal app hooks for wiring product binaries to the runtime.

Functions§

apply_mlockall_preset
Apply an mlockall preset to the current process.
apply_pinning_for_current_thread
Apply a pinning preset to the current thread.
apply_sched_preset
Apply a scheduler preset to the current thread.
canonical_encode_spec_kv_v1
Return the canonical v1 kv encoding for a spec.kv file.
compatibility_report_for_document
Build a compatibility report for a spec against a supplied capability document.
compatibility_report_for_spec
Build a compatibility report for a spec against the default runtime capability surface.
default_bundle_config_path
default_lane_graph_shm_dir
Return the default SHM directory associated with a lane-graph spec path.
default_runtime_capability_document
Default capability document for the base runtime binary.
default_stage_catalog_entries
Default stage catalog entries exported alongside the base runtime registry.
default_stage_registry
Default stage registry: resolves only identity.
describe_spec_kv_v1
Return stable v1 describe formatting for a spec.kv file.
doctor
Run doctor / preflight checks.
doctor_with_tuning
dot_spec_kv_v1
Return a minimal Graphviz DOT graph for a v1 spec.kv file.
effective_tuning_report
eprint_human
Print a human-friendly summary of checks to stderr.
incident_bundle
Export an incident bundle directory.
load_single_ring_bundle_adapter_bindings
open_egress_endpoint
open_ingress_endpoint
parse_run_input
Parse input payload selection for run --sp.
parse_wait_preset
pin_current_thread_to_cpu
Pin the current thread to a specific CPU.
policy_audit_record_for_spec
Build a machine-readable record of the v1 policy decisions applied to a spec.
policy_audit_record_for_spec_with_tuning
profile_defaults
read_spec_kv_v1
Read and decode a v1 spec.kv file.
run_kv_v1_single_ring_supervised_until_stop
Run a long-lived v1 SingleRing runtime until stop is set.
run_kv_v1_single_ring_supervised_until_stop_and_pinning
Run a long-lived v1 SingleRing runtime until stop is set, applying pinning to stage threads (best-effort).
run_kv_v1_single_ring_supervised_until_stop_and_tuning
Run a long-lived v1 SingleRing runtime until stop is set, applying tuning to stage threads.
run_kv_v1_single_ring_supervised_until_stop_with_resolver
Run a long-lived v1 SingleRing runtime until stop is set, using a stage resolver.
run_kv_v1_single_ring_supervised_until_stop_with_resolver_and_pinning
Run a long-lived v1 SingleRing runtime until stop is set, using a stage resolver and applying pinning to stage threads (best-effort).
run_kv_v1_single_ring_supervised_until_stop_with_resolver_and_tuning
Run a long-lived v1 SingleRing runtime until stop is set, using a stage resolver and applying tuning.
run_sp_kv_v1_single_ring
Validate and execute a v1 spec.kv file using the OSS bring-up SingleRing executor.
run_sp_kv_v1_single_ring_and_pinning
Validate and execute a v1 spec.kv file using the OSS bring-up SingleRing executor, applying a pinning preset to stage threads (best-effort).
run_sp_kv_v1_single_ring_and_tuning
Validate and execute a v1 spec.kv file using the OSS bring-up SingleRing executor, applying tuning to stage threads.
run_sp_kv_v1_single_ring_with_resolver
Validate and execute a v1 spec.kv file using the bring-up SingleRing executor, resolving any StageOpV1::ResolverKey stages using resolver.
run_sp_kv_v1_single_ring_with_resolver_and_pinning
Validate and execute a v1 spec.kv file using the bring-up SingleRing executor, resolving any StageOpV1::ResolverKey stages using resolver and applying pinning (best-effort) to stage threads.
run_sp_kv_v1_single_ring_with_resolver_and_tuning
Validate and execute a v1 spec.kv file using the bring-up SingleRing executor, resolving any StageOpV1::ResolverKey stages using resolver and applying tuning.
snapshot_lane_graph_json
Snapshot a LaneGraph runtime using the spec, lane root, and optional role activity.
snapshot_single_ring_json
Snapshot a SingleRing backing and return a JSON object.
thread_init_hook_for_pinning_best_effort
Build a per-thread init hook that applies pinning to executor threads.
thread_init_hook_for_tuning
Build a per-thread init hook that applies tuning to executor threads.
tuning_config_error
tuning_host_readiness_error
validate_spec_kv_v1
Validate a v1 spec.kv file.