Skip to content

Add FBPower monitor class and read_sensors#499

Open
lrh12580 wants to merge 1 commit intofacebookresearch:v2-betafrom
lrh12580:export-D94542928-to-v2-beta
Open

Add FBPower monitor class and read_sensors#499
lrh12580 wants to merge 1 commit intofacebookresearch:v2-betafrom
lrh12580:export-D94542928-to-v2-beta

Conversation

@lrh12580
Copy link

@lrh12580 lrh12580 commented Mar 4, 2026

Summary:
The diff stack enables power-telemetry tracing for Benchpress plugins and supports the following platforms: T1_CPL, T1_MLN, T1_BGM, T1_TRN, and T11_GRC_ARM.

  • Task: T248954685
  • Claude CLI prompts:
    • design.md (P2203208599)
    • implementation.md (P2203210057)
  • Related older diffs:
    • D73953894
    • D92542871

FBPower Monitor Class and read_sensors

  • Added FBPower monitor class to monitor power sensors

    • Files:
      • fbcode/cea/chips/benchpress/benchpress/plugins/hooks/perf.py
      • fbcode/cea/chips/benchpress/benchpress/plugins/hooks/perf_monitors/fb_power/__init__.py
      • fbcode/cea/chips/benchpress/benchpress/plugins/hooks/perf_monitors/fb_power/monitor.py
  • Updated BUCK build to include the additional targets required by the new monitor components.

Differential Revision: D94542928

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Mar 4, 2026
@meta-codesync
Copy link

meta-codesync bot commented Mar 4, 2026

@lrh12580 has exported this pull request. If you are a Meta employee, you can view the originating Diff in D94542928.

Summary:

The diff stack enables power-telemetry tracing for Benchpress plugins and supports the following platforms: **T1_CPL, T1_MLN, T1_BGM, T1_TRN, and T11_GRC_ARM**.

- **Task:** T248954685  
- **Claude CLI prompts:**  
  - `design.md` (P2203208599)  
  - `implementation.md` (P2203210057)  
- **Related older diffs:**  
  - D73953894  
  - D92542871  


### FBPower Monitor Class and `read_sensors`

- **Added FBPower monitor class** to **monitor power sensors**  
  - Files:
    - `fbcode/cea/chips/benchpress/benchpress/plugins/hooks/perf.py`
    - `fbcode/cea/chips/benchpress/benchpress/plugins/hooks/perf_monitors/fb_power/__init__.py`
    - `fbcode/cea/chips/benchpress/benchpress/plugins/hooks/perf_monitors/fb_power/monitor.py`

- **Updated BUCK build** to include the **additional targets** required by the new monitor components.

Differential Revision: D94542928
@lrh12580 lrh12580 force-pushed the export-D94542928-to-v2-beta branch from 1889e06 to 7a99486 Compare March 4, 2026 19:16
meta-codesync bot pushed a commit that referenced this pull request Mar 5, 2026
Summary:
Pull Request resolved: #499

The diff stack enables power-telemetry tracing for Benchpress plugins and supports the following platforms: **T1_CPL, T1_MLN, T1_BGM, T1_TRN, and T11_GRC_ARM**.

- **Task:** T248954685
- **Claude CLI prompts:**
  - `design.md` (P2203208599)
  - `implementation.md` (P2203210057)
- **Related older diffs:**
  - D73953894
  - D92542871

### FBPower Monitor Class and `read_sensors`

- **Added FBPower monitor class** to **monitor power sensors**
  - Files:
    - `fbcode/cea/chips/benchpress/benchpress/plugins/hooks/perf.py`
    - `fbcode/cea/chips/benchpress/benchpress/plugins/hooks/perf_monitors/fb_power/__init__.py`
    - `fbcode/cea/chips/benchpress/benchpress/plugins/hooks/perf_monitors/fb_power/monitor.py`

- **Updated BUCK build** to include the **additional targets** required by the new monitor components.

Reviewed By: excelle08

Differential Revision: D94542928

fbshipit-source-id: 47f68ce1a38e0d4e39ff9f049d483e92f4d7b43d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant