pcap: make PacketStream compute useful information
authorVincent Perot <vincent.perot@ericsson.com>
Mon, 4 Aug 2014 20:53:05 +0000 (16:53 -0400)
committerMatthew Khouzam <matthew.khouzam@ericsson.com>
Thu, 7 Aug 2014 19:25:11 +0000 (15:25 -0400)
commitf2fb631ecf3e9eca43534304fadbe9883d175f75
tree49682b28c0f9859400e17fa5288205d5dccf5e8e
parent00751e22bb1f4a238261c9d3d280d77c9121523a
pcap: make PacketStream compute useful information

The PacketStream now computes Nb of packets/bytes, duration of
the conversation, Bytes per seconds, etc. Also, it now does not
store indexes to packet, since it makes the size of PacketStream
proportional to the size of the trace. This is unwanted since we
have to be able to open traces that are bigger than memory.

Change-Id: I8f6bde99ceabc20c4a66786a2dbd25d49251cc9e
Signed-off-by: Vincent Perot <vincent.perot@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30998
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
org.eclipse.linuxtools.pcap.core.tests/src/org/eclipse/linuxtools/pcap/core/tests/stream/StreamBuildTest.java
org.eclipse.linuxtools.pcap.core/META-INF/MANIFEST.MF
org.eclipse.linuxtools.pcap.core/src/org/eclipse/linuxtools/pcap/core/packet/PacketUniqueID.java [deleted file]
org.eclipse.linuxtools.pcap.core/src/org/eclipse/linuxtools/pcap/core/stream/PacketStream.java
This page took 0.028687 seconds and 5 git commands to generate.