Comments (3)
In our view, this is WAI. Handling these edge cases of identical timestamps induces a high amount of complexity throughout the trace processing and UI stack and is a non issue if you use the native proto format where timestamps can be specified in nanoseconds
Basically this falls under our JSON policy (https://perfetto.dev/docs/faq#why-does-perfetto-not-support-lt-some-obscure-json-format-feature-gt-) where the cost of supporting this case does not justify the benefit.
from perfetto.
Thanks for the quick response. Would it be possible add a warning (if this occurs) somewhere in the UI then? I'm afraid this isn't obvious and even nanosecond-resolution trace formats can fall prey to this if e.g the clock's resolution is low.
In any case, JSON supports nanosecond resolution, and I already have timestamps in ns anyway, just didn't bother to plug in the support.
Thanks for the help :)
from perfetto.
Would it be possible add a warning (if this occurs) somewhere in the UI then?
From a technical perspective, yes it would certainly be possible. Would be be of a high enough priority for us to look at? Probably not: contributions for this are welcome (see https://perfetto.dev/docs/contributing/getting-started)
from perfetto.
Related Issues (20)
- How to quickly locate a ftrace slice on the timeline based on the start timestamp HOT 1
- Empty auxiliary tracks show up as crashed? HOT 2
- How to cut a large perfetto trace to some small file HOT 1
- Why can't I click the box corresponding to a single ftrace event? HOT 1
- Trace counters aren't present in timeline HOT 2
- traces with low timestamped logcat events fail to open properly HOT 1
- feature request: selectively display specific slice HOT 3
- Failed to get information about GPU when recording a perfetto-trace HOT 2
- အားလုံး ပိတ်ပါ (0)
- How to split a big perfetto trace by given slice names? HOT 1
- Perfect
- Perfetto no longer adjusting range to file min/max on Catapult json data HOT 1
- "android.power_rails" Stdlib SQL implementation does not match the docs. HOT 1
- TrackEvents proto binary recorded by CustomDataSource not successfully displayed by Perfetto UI HOT 2
- ninja, gn and pnpm do not forward failures on Windows HOT 2
- Build on Windows should compile additional security flags HOT 5
- Perfetto UI - An unrecoverable problem occurred HOT 6
- Cannot open some perfetto trace files in v45 (But works in v44) HOT 7
- Interned event strings do not work on stable or canary HOT 5
- The perfetto UI displays all numbers. There is no information such as function name. HOT 17
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from perfetto.