roadmap

What the review read and ran

An appendix to the milestone.

The crate

partsfoundry/counter_frequency_contract at 4decec9d5e43054c88a6d5e6f5254b37906db92e, version 0.1.0-pre.2, the tag v0.1.0-pre.2, a fresh clone of main. The census of milestone 1129 (the combine review) counted the same commit. The lane read in full: Cargo.toml, README.md, CHANGELOG.md, docs/stranger-test.md, src/lib.rs (351 lines, its tests and its two Kani harnesses included), .cargo/mutants.toml and .github/mutants-exempts. It read the names of the two patches in falsifications/ and searched the other files for one word.

The commands

Each command below ran against the counter_frequency_contract clone on a Linux x86_64 host, with rustc 1.100.0 and the build output kept in the lane's scratch area. git status --short showed the clone clean afterward.

A scratch program that depends on the crate by path and on raw-cpuid at =11.6.0 printed:

A second scratch crate, no_std, asserted in a const that PAGE_VIRTUAL_ADDRESS equals 0x0000_7000_0000_0000. It builds for x86_64-unknown-none and aarch64-unknown-none-softfloat and fails for riscv64imac-unknown-none-elf (P0-3).

The search for a comparator

On 2026-11-26 (UTC), https://crates.io/api/v1/crates?q=<words>&sort=recent-downloads&per_page=8 for each of: "counter frequency", "timebase", "tsc frequency", "vdso", "pvclock", "timer frequency", "cntfrq", "shared page", "time counter no_std" and "clocksource". No result publishes a page that carries a counter's rate to a process. The results that hand a program a counter rate became the neighbors. The lane measured minstant 0.1.7 (271,744 downloads in 90 days), vdso 0.2.2 (2,110) and fdt 0.1.5 (471,091) and set them aside. The first calibrates as quanta does, the second resolves symbols in Linux's vDSO, and the third parses a device tree and has its own release review.

The neighbors read

The lane downloaded four .crate files from static.crates.io, at the versions the block's table gives, and unpacked each apart from the others.

The systems outside Rust

Read from the torvalds/linux repository at the tag v6.12, and from the devicetree-org/devicetree-specification repository at the tag v0.4.

The Linux files are GPL; the review read them for the shape of what they publish only.

The benchmark

A scratch crate that depends on the crate by path and on quanta at =0.13.0, built with cargo build --release and run once on the same host (Intel Xeon Platinum 8160 at 2.10 GHz, 80 threads). The loop starts at 64 repeats and doubles until a pass lasts 50 milliseconds. It then runs seven passes and reports the lowest, divided by the count. Inputs and results pass through core::hint::black_box. The page held 2,100,000,000 hertz, and the tick count was 0x1234_5678_9abc plus the loop index.

operation nanoseconds per call calls per pass
build_page(hertz) 1.98 33,554,432
page.hertz() 1.54 33,554,432
(ticks as u128 * 1_000_000_000) / hertz as u128 30.02 2,097,152
(ticks as u128 * mult as u128) >> 32, with mult derived once from the rate 0.71 134,217,728
quanta::Clock::delta_as_nanos(1000, ticks) 0.69 134,217,728

Each column includes the loop's add of the result into an accumulator. build_page is two copies into a 16-byte array, and hertz is the magic compare and one 8-byte load. The division row is one 128-bit multiply and one 128-bit divide. The last two rows are one 128-bit multiply and a shift, with quanta's own calibration supplying its multiplier. A second run gave 1.97, 1.54, 33.74, 0.78 and 0.77.

What the lane did not run