-
Notifications
You must be signed in to change notification settings - Fork 317
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
Comments
I just randomly tried replacing |
I believe the default mode is currently applied here: https://cs.android.com/android/platform/superproject/main/+/main:external/perfetto/ui/src/core_plugins/counter/index.ts;l=54?q=power%20f:perfetto%2Fui%2Fsrc&ss=android%2Fplatform%2Fsuperproject%2Fmain |
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. |
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? |
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. |
https://r.android.com/c/3091727/1 should expose the hidden menu items. |
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
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.
The text was updated successfully, but these errors were encountered: