diff options
author | Balint Reczey <balint@balintreczey.hu> | 2014-06-22 12:53:48 -0700 |
---|---|---|
committer | Balint Reczey <balint@balintreczey.hu> | 2014-06-27 08:55:11 +0000 |
commit | a67b7f5b5c563e54ca630370cdf7f696e4ce59a5 (patch) | |
tree | f1af43d810fa6746f8fb60136048757d1d6c3c78 /ui/tap-sequence-analysis.h | |
parent | 9ef47ae8c82abc1edc83408b4c2a93aaff40e282 (diff) |
Use GQueue for generating statistics
This makes reversing the list back and forth to keep adding data
at O(n) complexity obsolete.
Bug: 9696
Change-Id: Ice77328b8f6c5bf72bbfcfd82e08d09d4f986d3f
Reviewed-on: https://code.wireshark.org/review/2571
Reviewed-by: Balint Reczey <balint@balintreczey.hu>
Tested-by: Balint Reczey <balint@balintreczey.hu>
Diffstat (limited to 'ui/tap-sequence-analysis.h')
-rw-r--r-- | ui/tap-sequence-analysis.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/tap-sequence-analysis.h b/ui/tap-sequence-analysis.h index d80a20aa5f..ab359d958f 100644 --- a/ui/tap-sequence-analysis.h +++ b/ui/tap-sequence-analysis.h @@ -71,7 +71,7 @@ typedef struct _seq_analysis_info { gboolean all_packets; /**< all packets vs only displayed */ gboolean any_addr; /**< any addr (DL+net) vs net-only */ int nconv; /**< number of conversations in the list */ - GList* list; /**< list with the graph analysis items */ + GQueue* items; /**< list with the graph analysis items */ GHashTable *ht; /**< hash table for retrieving graph analysis items */ address nodes[MAX_NUM_NODES]; /**< horizontal node list */ guint32 num_nodes; /**< actual number of nodes */ |