Skip to documentation
SLOP

tiny.bench.valuePerUnit

Reference tiny.bench valuePerUnit

Defined in tiny.bench.

Called byCallsNo direct callstiny.benchnsPerUnittiny.benchvaluePerUnit
Static calls · unresolved targets: 0 · external targets: 0.

Source

Source: lib/bench/src/stats/totals.zig:79

zig
pub fn valuePerUnit(value: f64, units: u64) f64 {    if (units == 0) return 0;    return value / @as(f64, @floatFromInt(units));}

Source: lib/bench/src/root.zig:105

zig
pub const valuePerUnit = stats.valuePerUnit;

Also reachable as

statistics.valuePerUnit.

Audit

Definitions1
Public names2
Members0
Version26.7.0
Revisiondaab053ee433