Skip to main content

Module probe_cache

Module probe_cache 

Source
Expand description

What this process learned from encoder probe opens, so failures that cannot change are asked once.

Structs§

KeptAnswers
Probe answers by key, kept under Keep; the first kept answer for a key stays.
ProbeEntry
What this process knows about one encoder and way it runs.

Enums§

ChildProbeEnd
How a probe that runs in a child process ended.
Keep
How long a hardware encoder probe answer is kept for this process.
ProbeVerdict
A probe answer that cannot change while the process runs.

Constants§

UNCLASSIFIED_FAILURES_KEPT
Unclassified probe failures in a row after which the last one is kept as the verdict.

Functions§

bounded_kept_probe
The kept answer of answers, else probe on its own thread, bounded by timeout and kept as the Keep it returns says.
cached_probe
The cached verdict for name and mode, else probe’s answer (cached when it cannot change, or after UNCLASSIFIED_FAILURES_KEPT unclassified failures in a row); None when nothing is cached and there is no probe.
mode_label
How an encoder runs, for diagnostics.

Type Aliases§

ProbeCache
The probe outcomes kept for this process, by encoder name and way it runs.