Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I avoid counters from displaying as deltas? #782

Closed
jaywonchung opened this issue May 12, 2024 · 7 comments
Closed

How do I avoid counters from displaying as deltas? #782

jaywonchung opened this issue May 12, 2024 · 7 comments

Comments

@jaywonchung
Copy link

Screenshot 2024-05-12 at 2 01 24 PM

I have multiple counter types that I tracked and formatted into the chrome tracing JSON format.
Most counters are displayed as raw values, which is what I want, but somehow two of the counters that have "power" in their names are shown as deltas.
Is there a way to change this to raw counter values instead of deltas?

Thank a lot.

@jaywonchung
Copy link
Author

I just randomly tried replacing "power" with "pwr" in the name of the counter and now it's displaying as raw counters. Regardless, I think the user should be able to choose between deltas or raw values.

@stevegolton
Copy link
Member

Unfortunately the UI is oriented towards Android tracing, and thus certain things like this are currently hard coded. If we remove this feature, a lot of folks would be disappointed.

We are however actively working on a way to remedy the problem by providing a more un-opinionated "core" with the ability for users to customize their workspaces with a combination of plugins & settings. While this is mainly aimed at customizing the loadout tracks & groups, the track options like this are likely be included as well.

I'm afraid we don't have any more details to share or a concrete timescale yet, but I'll try to update this issue when we do.

@jaywonchung
Copy link
Author

Sounds good, thanks for your reply. If I want to fork the repo to change that part of the code, is there perhaps some guide on how to do a local deployment?

@LalitMaganti
Copy link
Collaborator

Actually just spoke with Steve: we used to have an option to change between normal/delta counters but that option is now gone. The logic for that still exists so we should fix that.

As for changing the defaults, yeah that might be a bit more involved but the fix for now is just to add the functionality to change away from rate back.

@LalitMaganti
Copy link
Collaborator

https://r.android.com/c/3091727/1 should expose the hidden menu items.

primiano pushed a commit that referenced this issue May 20, 2024
There's little reason to hide these options in a debug menu are they are
generally very useful for end users to be able to change directly.

Bug: #782
Change-Id: If48d17828cf5134c86cf3feca28239e46b92a855
@jaywonchung
Copy link
Author

Screenshot 2024-05-20 at 11 15 28 PM

Works well, thanks! Leaving screenshot for others just in case.

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

No branches or pull requests

4 participants