Skip to content

Push 2026 03 05#1005

Merged
opcm merged 3 commits intomasterfrom
push-2026-03-05
Mar 6, 2026
Merged

Push 2026 03 05#1005
opcm merged 3 commits intomasterfrom
push-2026-03-05

Conversation

@rdementi
Copy link
Contributor

@rdementi rdementi commented Mar 6, 2026

No description provided.

Copilot AI and others added 3 commits March 2, 2026 12:31
Changes:
- Add getDieId() accessor to PCM class in cpucounters.h
- Add --die option parsing in pcm.cpp
- Add die-level aggregation in print_output() (normal mode)
- Add die-level aggregation in print_csv_header() and print_csv() (CSV mode)
- Update print_help() with new option documentation
- Update fuzz test to exercise the new code path

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: rdementi <25432609+rdementi@users.noreply.github.com>
* Add native PCIe metrics collection and export support

- Move IPlatform::getPlatform() from pcm-pcie.cpp to pcm-pcie.h as inline
  so both pcm-pcie (CLI) and pcm-sensor-server (HTTP exporter) can
  instantiate platform objects without duplicating the factory logic
- Add pcm-pcie-collector.h for Prometheus-style PCIe metrics collection
- Expose IPlatform data accessors (getReadBw, getWriteBw, event, etc.)
  as public so PCIeCollector can read metrics externally
- Extend pcm-sensor-server.cpp with PCIe metrics HTTP endpoints
- Replace exit() with throw std::runtime_error() for server safety
- Use override instead of virtual for compile-time correctness
- Fix build warning in pcm-pcicfg.cpp
Change-Id: Id832e2a26b9c3b64a3f2452c34c8bd47128dee0a
@opcm opcm merged commit ff8b74c into master Mar 6, 2026
46 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.

4 participants