Skip to content

Decompose intermittent-power execution time into exec, checkpoint, and wait - #93

Merged
byeongjee merged 14 commits into
mainfrom
byeongjee/cerith
Sep 7, 2026
Merged

Decompose intermittent-power execution time into exec, checkpoint, and wait#93
byeongjee merged 14 commits into
mainfrom
byeongjee/cerith

Conversation

@byeongjee

Copy link
Copy Markdown
Owner

Summary

  • Pulse P3.5 around each capacitor wait so the Saleae's second channel measures wait time (documented in docs/intermittent.md and docs/saleae.md); a death during a wait extends the span to the final exit.
  • Extract wait spans in ckpt intermittent and record wait count, deaths, and wait time in the summary CSV.
  • Add -D to bench commands and build the continuous-power reference with INTERMITTENT_BUILD (the same wait-mode binary run under continuous 3.3 V).
  • Charge a 64-byte upper bound for memcpy/memset with non-constant size in bb-energy-analyzer; re-measure sha256 and poly1305 accordingly.
  • results/intermittent/summarize.py decomposes T_total into T_exec, T_ckpt, T_wait, and the remainder, and emits the aggregate and per-benchmark LaTeX tables used in Section 6.3.

Test plan

  • uv run pytest tests/test_intermittent.py
  • Re-ran the intermittent-power matrix and regenerated plots and tables

@byeongjee
byeongjee merged commit 34f498f into main Sep 7, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant