I’m just starting to look into Perfetto via viztracer for Python, and I noticed the "Current Selection" for a slice gives this kind of output:
In particular, it says:
Duration 53ms 926us 800ns
What do the three numbers mean? I’ve tried searching online, but I’ve found no explanation …
The 53 ms does correspond to the width of the slice/event in the visualization, but what are the 926us and 800ns for?
>Solution :
The entire expression 53ms 926us 800ns is the duration: 53 milliseconds, plus 926 microseconds (commonly abbreviated as us or μs), plus 800 nanoseconds – for a total of 53.9268 milliseconds.
Based on the values of the timestamp and duration, it looks like precision is only to hundred-nanosecond intervals here.
The 53 ms does correspond to the width of the slice/event in the visualization
The whole number represents the width of the slice/event but the truncated value of 53 ms is close enough to look like it corresponds.
