pyphi.cost.SECONDS_PER_UNIT#
- pyphi.cost.SECONDS_PER_UNIT = 4.4e-05#
CPU seconds one work unit costs on reference hardware.
Calibrated against per-shard CPU time over eleven shards spanning 16- and 21-unit Ising substrates, both payload kinds, 0.2 M to 20 M units, 1 to 66 distinct mechanisms packed, and cache ceilings from unlimited to fully binding. Cost per unit held between 41 and 51 µs across all of them; the widest departures are the largest shard (+15%, part of it plausibly memory-bandwidth contention) and a starved cache (+12%).
Hardware differs, so treat this as the reference for
units_for_runtime()and re-derive it from a campaign’s own recorded metrics (CampaignTaskOutput.metrics) when planning against a hard runtime deadline.