Skip to content

PowerCumul 0.03

Choose a tag to compare

@github-actions github-actions released this 20 Aug 13:27
· 20 commits to main since this release

PowerCumul v0.03


English

What's New (since v0.02)

  • Continuous streaming sampling: powermetrics now runs as a long-lived process, parsing every sample block — 100% time coverage, zero extrapolation error. The old approach (spawn every 5s, measure 1s, extrapolate) is gone, along with its ~17k process spawns/day overhead.
  • DRAM counted: idle power no longer drops to 0 — DRAM draw is added to the Combined total.
  • Sleep gap fix: gaps over 90s (sleep/outage) are no longer charged at full power.
  • Throttled disk writes: state/raw files flush every 5s instead of per-sample.
  • Cost now cumulative: daily cost at idle is literally fractions of a cent (Mac mini idles at 2–6W), so the panel and status bar now show cumulative cost with 3 decimals — a number that actually moves.

Install

  1. Download PowerCumul-0.03.dmg
  2. Drag PowerCumul to Applications
  3. First launch: right-click app → Open → Open Anyway (once)
  4. Left-click ⚡ for panel, right-click ⚡ for settings

中文

新功能(相比 v0.02)

  • 连续流式采样:powermetrics 改为常驻进程逐块解析,100% 时间覆盖、零外推误差。旧方案(每 5s 启动一次、测 1 秒外推 5 秒)及其每天 1.7 万次进程创建开销一并移除。
  • 计入 DRAM:空闲时功率不再整段记 0,内存耗电补进总量。
  • 修复睡眠缺口:超过 90 秒的缺口(睡眠/中断)不再按满功率记账。
  • 落盘节流:状态与原始流每 5 秒写一次,不再逐样本写盘。
  • 费用改显示累计:Mac mini 空闲日电费只有几分钱(2 位小数恒为 0.00),面板与状态栏改为累计电费 + 3 位小数,数字真正看得见增长。

安装

  1. 下载 PowerCumul-0.03.dmg
  2. 拖 PowerCumul 到「应用程序」
  3. 首次打开:右键 App → 打开 → 仍要打开(仅一次)
  4. 左键 ⚡ 看面板,右键 ⚡ 调设置