Skip to main content

finish

Function finish 

Source
pub(crate) fn finish(
    runtime: &Runtime,
    wall: Duration,
    heap: HeapStats,
    instructions: Option<u64>,
    outcome: Result<Value, RuntimeError>,
) -> RunMeasurement
Expand description

Reads the counters a run leaves behind and says whether it passed.

Shared by every backend, so that what a measurement is made of does not depend on which evaluator produced it.