lttng / lttng-scope

A trace viewer and analyzer for LTTng kernel and user space traces
https://lttng.org/beta/#lttng-scope
Eclipse Public License 1.0
28 stars 6 forks source link

Use a single redraw thread for all timeline widgets #31

Closed ghost closed 7 years ago

ghost commented 7 years ago

Currently, every widget brings its own redraw thread. This won't scale very well with higher numbers of widgets, where all threads will fight for resources.

Instead, there should be one redraw thread per timeline view, which will go through the different widgets and determine if they need updating or not, sequentially. We should however make sure that views can be used independently of a timeline. Perhaps make the widget-thread optional?

ghost commented 7 years ago

This was implemented in f309cd45173077c0d81fb1ad0aab0acc33dd81e5.