summaryrefslogtreecommitdiff
path: root/ui/qt/wlan_statistics_dialog.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2016-10-26 14:28:00 -0700
committerGerald Combs <gerald@wireshark.org>2016-10-26 23:18:06 +0000
commit4e31c0c61b7fc38022d82a189953e8b0e4cb8978 (patch)
tree2e4255b1ab178ab1365d7ec6cf97cf75e162f9f4 /ui/qt/wlan_statistics_dialog.h
parent7a09f52c8edba3ab5fe4e9e20e9f737c7ea199ad (diff)
downloadwireshark-4e31c0c61b7fc38022d82a189953e8b0e4cb8978.tar.gz
Qt: WLAN Statistics performance improvements.
In the WLAN statistics dialog, add our stations to the tree in the background. This returns control to the user immediately after tapping. Add notes about further performance improvements. Change-Id: Ie7ff818b8d835ecb38f5ff702a0d0e8f2635abb2 Reviewed-on: https://code.wireshark.org/review/18495 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/wlan_statistics_dialog.h')
-rw-r--r--ui/qt/wlan_statistics_dialog.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/qt/wlan_statistics_dialog.h b/ui/qt/wlan_statistics_dialog.h
index e39f4b6427..670feda3b1 100644
--- a/ui/qt/wlan_statistics_dialog.h
+++ b/ui/qt/wlan_statistics_dialog.h
@@ -24,6 +24,8 @@
#include "tap_parameter_dialog.h"
+class QElapsedTimer;
+
class WlanStatisticsDialog : public TapParameterDialog
{
Q_OBJECT
@@ -36,6 +38,9 @@ protected:
private:
int packet_count_;
+ int cur_network_;
+ QElapsedTimer *add_station_timer_;
+
// Callbacks for register_tap_listener
static void tapReset(void *ws_dlg_ptr);
@@ -46,6 +51,7 @@ private:
private slots:
virtual void fillTree();
+ void addStationTreeItems();
void updateHeaderLabels();
void captureFileClosing();
};