Menu

Searches titles, sections and text. ↑ ↓ to move, Enter to open, Esc to close. Opens with / or Ctrl+K.

    Contact

    Measurement validity

    When a trace run may support a result: the validity record, valid/partial/rejected observations, and why trace loss is not ordinary non-coverage.


    A decoder can produce a plausible path from incomplete or mismatched inputs. A reviewable result therefore begins with validity checks, not with a percentage.

    The validity record

    For every run, the validity record identifies:

    • the executable and program-image hash;
    • the corresponding debug and mapping information;
    • target, board, core and trace-source configuration;
    • trace protocol, filtering, timing and context options;
    • the analyzed interval and its start/stop events;
    • synchronization, overflow, loss and resynchronization events;
    • core, task or context attribution where required;
    • the analysis mode and any CEDARtools.Anchor manifest;
    • product, firmware, FPGA and host-software versions; and
    • the acceptance policy applied to the run.
    Incoming trace
    + metadata
    Incoming trace...
    1 · executable / image identity
    1 · executable / image identity
    2 · trace configuration identity
    2 · trace configuration identity
    3 · synchronization
    3 · synchronization
    4 · overflow / loss
    4 · overflow / loss
    5 · core / context attribution
    5 · core / context attribution
    6 · mapping · analysis-mode support
    6 · mapping · analysis-mode support
    ✓ Valid for reported scope
    metric accepted within that scope
    ✓ Valid for reported scope...
    ▨ Partial / lower-bound
    affected interval stated explicitly
    ▨ Partial / lower-bound...
    ✕ Rejected
    reason recorded
    ✕ Rejected...
    Validity checks
    Validity checks
    A detected gap is reported as an unknown interval, not silently as uncovered.
    A detected gap is reported as an unknown interval, no...
    Decode output is not automatically evidence: six checks decide whether a metric is valid for its scope, partial with a stated interval, or rejected with a reason.

    Valid, partial and rejected observations

    A run is valid for the reported scope when the expected executable and configuration are established and no untreated trace discontinuity affects that scope. A run is partial when a bounded interval or subset remains usable but other obligations are explicitly excluded from the result because of a detected gap or unsupported mapping. A run is rejected when identity, synchronization or continuity cannot be established sufficiently for the requested claim.

    Trace loss is not ordinary non-coverage

    Code that was not observed in an otherwise valid interval is different from code whose observation is unknown because trace was lost. The first may be reported as not covered. The second remains unresolved for that run.

    Core events
    Core events
    Trace source
    Trace source
    Routing / funnel
    Routing / funnel
    Buffer / formatter
    Buffer / formatt...
    Link / memory sink
    Link / memory si...
    Receiver
    Receiver
    Decoder
    Decoder
    1
    1
    2
    2
    3
    3
    4
    4
    5
    5
    6
    6
    7
    7
    Validity channel
    status signals and counters travel alongside the data path
    Validity channel...
    1 filter
    2 overflow
    3 backpressure / stall
    4 packet corruption
    5 extraction gap
    6 receiver overrun
    7 resynchronization
    1 filter...
    Which loss conditions and status mechanisms exist depends on the architecture; not every path implements all of them.
    Which loss conditions and status mechanisms exist dep...
    Between core and decoder the stream can be filtered, stalled or lost; the validity channel turns such an event into a reported status instead of a silent gap.

    Result policy

    The configured policy determines whether a validity event rejects the complete run, bounds an affected interval, or permits a lower-bound result. The report states which policy was applied and retains the underlying event record.

    What validity does not prove

    A valid trace observation establishes that the input and processing conditions met the declared checks. It does not by itself prove requirement correctness, test adequacy, source-mapping correctness, absence of tool error or completeness outside the observed scope.


    Related: how it works · code coverage from processor trace