tcp: add cc stats plotting tools 92/20092/4
authorFlorin Coras <fcoras@cisco.com>
Wed, 12 Jun 2019 15:12:58 +0000 (08:12 -0700)
committerDamjan Marion <dmarion@me.com>
Wed, 12 Jun 2019 17:14:39 +0000 (17:14 +0000)
commit3417d08700168d9a7c0fe561e40e73478d5e1229
tree2715bd489ab1277d24017ad0ee12033f028d4472
parent26ce6ca1fe6f524a9049444fe8d55042fd7530a6
tcp: add cc stats plotting tools

Type: feature

cc_plot.py can plot cc stats collected via elogs from tcp connections.
To enable the collection of cc stats, tcp must be compiled with
TCP_DEBUG_CC_STAT turned on.

Once the tests have been carried out, and elogs have been saved with "ev
save log <file>", the logs can be converted to txt format with the
convert_evt script. The resulting file can be used as input to the
cc_plots script.

Change-Id: I16df2993fa09cab9ad35f91825eab7df4da6428b
Signed-off-by: Florin Coras <fcoras@cisco.com>
src/scripts/host-stack/cc_plots.py [new file with mode: 0755]
src/scripts/host-stack/convert_evt [new file with mode: 0755]