forked from qt-creator/qt-creator
Tracing: CtfVisualizer: Apply thread restrictions to statistics, too
The statistics are now also filtered by the selected threads. If no thread is selected, the statistics are presented for all threads combined. This fixes a bug with double counted events, too. Change-Id: I9afa0bf5bc85ccf363e00600e75001c0ab3f2e8a Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
@@ -66,7 +66,7 @@ public:
|
||||
~CtfStatisticsModel() override = default;
|
||||
|
||||
void beginLoading();
|
||||
void addEvent(const nlohmann::json &event, qint64 duration);
|
||||
void addEvent(const QString &title, qint64 durationInNs);
|
||||
void endLoading();
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user