Implementing a Nsight Systems-like Timeline View in Qt with Efficient Call Stack Data Structures
-
Hello everyone,
I'm working on a Qt application where I need to create a timeline view similar to the one found in Nsight Systems (https://d29g4g2dyqv443.cloudfront.net/sites/default/files/akamai/detect-frame-stutter-and-bottlenecks-630x354.jpg). My goals are two-fold:
GUI Perspective: I need advice on how to implement a dynamic and interactive timeline view in Qt. I'm particularly interested in how to handle zooming, panning, and selecting time ranges within the timeline. Are there any existing Qt widgets or frameworks that could simplify this process?
Data Model Perspective: I need to read and store call stack data efficiently. I'm looking for recommendations on data structures that can represent the call stack in a way that allows for fast time-based filtering. The idea is to enable users to select a subset of the timeline and quickly retrieve statistics or perform analyses on that specific region.
In particular,
- What Qt modules or libraries would you recommend for building a custom timeline view with interactive features?
- Are there any best practices for structuring the underlying data model to optimize time-based filtering and querying of call stack data?
- Has anyone implemented something similar and can share insights or code examples?
Any guidance or suggestions would be greatly appreciated!
Thanks in advance!
-
Hi
For the GUI part, it seems to me like the Qt Quick Timeline module is what you are looking for.