New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 748629 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Jun 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Feature



Sign in to add a comment

Investigate Integration of BattOr and ETW

Project Member Reported by crouleau@chromium.org, Jul 25 2017

Issue description

Investigate Integration of BattOr and ETW

If we could view the battOr power data on the same trace as ETW data, then we could closely correlate power usage to stack traces, etc. 

 
The easy part of this is to control the stopping and starting of battor_agent recording using UIforETW. The trickier part is integrating the battor data into an ETW trace.
Cc: stanisc@chromium.org
I created an experimental UIforETW CL that appends (fake) BattOr data such that it shows up at the end of a trace. I can be zoomed and graphed, but it doesn't line up with the real data. It may be possible to improve this technique so that the data is lined up.

https://codereview.appspot.com/326950043

Possible improvement methods would include using the raw ETW APIs to write the UIforETWbattor.etl file with the correct time stamps, or synthesizing a correct file. The timestamps for the individual ETW packets appear to be offsets from some other clock value which I have not found but they are QPC frequency time stamps. FWIW.

Status: WontFix (was: Assigned)
Battor is being deprecated so this will never be done.

Sign in to add a comment