Automated anomaly detection 68/17268/2
authorDave Barach <dave@barachs.net>
Sun, 3 Feb 2019 15:44:47 +0000 (10:44 -0500)
committerDave Barach <openvpp@barachs.net>
Sun, 3 Feb 2019 17:24:18 +0000 (17:24 +0000)
commit9c8cfd3d575116ef2ebe225b90eb1a93627ba432
tree98fcdb2a3de7019fd12842e73eb94f7f5f32f58e
parent9793de02184e250b2c271f4c7710169394c8d0be
Automated anomaly detection

Compute per-track mean, variance, and n*stddev stats for the first u32
datum in each instance of the supplied event.

Search for the next instance of the indicated event which has a datum
larger than mean + n*stddev.

This turns out to be a very effective "Nixon Gap" finder when the
selected event datum is the instantaneous vector size. Such traces can
be easily captured from production vpp images.

Change-Id: I876843cb2ece22f902720704ce4568d4e1173e01
Signed-off-by: Dave Barach <dave@barachs.net>
src/tools/g2/g2version.c
src/tools/g2/view1.c