benches/sim_bench.rs (harness=false, zero deps): fixed-iteration ns/op timing for hpmcu_tick, cru_poll, modbus_read_holding, rga_improcess, membus_poke_peek. Human timings to stdout, one JSON trend line per bench to stderr for CI capture. New CI `bench` job smoke-runs them. Regression-vs-history gating is future work. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017wB8KB3MMQztRDXCMCkPrf
20 lines
483 B
TOML
20 lines
483 B
TOML
[package]
|
|
name = "warden-sim"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Host-side hardware simulator for WardenOS: register/SRAM bus, HPMCU (RISC-V) watchdog, RGA, NPU. Lets driver and supervisor logic run and be tested with no panel."
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
[lib]
|
|
name = "warden_sim"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
|
|
[dev-dependencies]
|
|
|
|
# Dependency-free micro-benchmarks (fixed-iteration timing, no criterion tree).
|
|
[[bench]]
|
|
name = "sim_bench"
|
|
harness = false
|