Skip to content

Commit

Permalink
exclude drops from latency reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
mirabilos committed Nov 18, 2023
1 parent 8a677ff commit 71ee7f3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion acquire/schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,13 @@ BEGIN
SELECT iabs, d FROM fa1;

CREATE VIEW fqdelay (dts, msvdelay, msrdelay, mslatency) AS
WITH
prefiltered AS (
SELECT ts, qdelay, vqnb, owd FROM p
WHERE NOT p.isdrop
)
SELECT ts - d, qdelay * 1000, (qdelay - vqnb) * 1000, owd * 1000
FROM p, o
FROM prefiltered, o
ORDER BY ts;

CREATE VIEW fbandwidth (dts, load, rcapacity, vcapacity, pktsizebytes) AS
Expand Down

0 comments on commit 71ee7f3

Please sign in to comment.