Skip to content

v0.2.2

Choose a tag to compare

@saurabh-singh-rajput saurabh-singh-rajput released this 30 Mar 23:58
· 90 commits to main since this release

What's New

  • macOS Apple Silicon support: pip install now works on macOS (Python-only install with graceful cmake skip)
  • DarwinIOReportProvider: energy measurement via IOReport (CPU/GPU/ANE/DRAM) with per-channel unit handling (mJ/nJ)
  • DarwinKPCProvider: exact hardware perf counters via kperf.framework (~200ns per read)
  • PrecisionTimer: mach_continuous_time for ARM generic timer (~42ns resolution)
  • Robust path resolution: all fragile parents[N] paths replaced with consistent pkg_root pattern
  • Config packaged in wheel: no more "Default configuration file not found" warning
  • CI/CD: multi-arch testing on macOS Apple Silicon + Linux x64
  • Per-channel IOReport units: reads IOReportChannelGetUnitLabel per channel (mJ for CPU/DRAM, nJ for GPU Energy)

Install

pip install codegreen==0.2.2

Linux wheels include pre-built NEMB binary. macOS installs Python-only (CLI, instrumentation, analysis all work).