Closed
Bug 1794327
Opened 2 years ago
Closed 2 years ago
Use RAPL perf events to show power use in the profiler
Categories
(Core :: Gecko Profiler, enhancement, P3)
Tracking
()
RESOLVED
FIXED
107 Branch
Tracking | Status | |
---|---|---|
firefox107 | --- | fixed |
People
(Reporter: dlrobertson, Assigned: dlrobertson)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
Use RAPL perf events to provide power usage statistics to the profiler. perf(1) currently allows users to do this with something like the following:
perf stat -e power/energy-cpu/ <command>`
We should be able to implement this in the gecko profiler using perf_event_open(2). In some cases this might require the user to set the kernel.perf_event_paranoid sysctl.
Assignee | ||
Updated•2 years ago
|
Priority: -- → P3
Assignee | ||
Comment 1•2 years ago
|
||
Poll the RAPL perf events on linux to provide useful power data as a profile
counter.
Updated•2 years ago
|
Assignee: nobody → drobertson
Attachment #9297764 -
Attachment description: WIP: Bug 1794327 - Record RAPL perf events as a profile counter. r=florian → Bug 1794327 - Record RAPL perf events as a profile counter. r=florian
Status: NEW → ASSIGNED
Pushed by drobertson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fff931ea85ef
Record RAPL perf events as a profile counter. r=florian
Comment 3•2 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox107:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 107 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•