Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
M
mp-rude
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Maalepaaler
mp-rude
Commits
6a6ab5ae
Commit
6a6ab5ae
authored
Mar 18, 2019
by
Olav Kvittem
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
least_delay now in ms in gapsum record
parent
6c1ac558
Pipeline
#16138
passed with stages
in 1 minute and 4 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
build.sh
build.sh
+1
-1
mp-rude/usr/share/mp-rude/qstream-gap-ana
mp-rude/usr/share/mp-rude/qstream-gap-ana
+2
-4
No files found.
build.sh
View file @
6a6ab5ae
...
...
@@ -8,7 +8,7 @@ apt-get update
apt-get
-y
upgrade
package
=
"mp-rude"
version
=
"1.3.1
4
"
version
=
"1.3.1
5
"
target
=
"
${
package
}
_
${
version
}
_all"
...
...
mp-rude/usr/share/mp-rude/qstream-gap-ana
View file @
6a6ab5ae
...
...
@@ -19,7 +19,7 @@ use constant JAN_1970 => 0x83aa7e80;
# use LWP::Protocol::https;
# date --date 'jan 1 2000' +%s
$version
=
"
0.1.
1
";
$version
=
"
0.1.
2
";
$min_tx
=
946681200
;
$max_tx
=
1893452400
;
# 2030-01-01
$maxseqreorder
=
1000
;
#
...
...
@@ -45,8 +45,6 @@ my %jitter_values=(); # last jitter values reported
my
%mindelay
;
# minimum delay last slep
my
%minseq
;
# minimum delay last slep
my
%mindelay
;
# minimum delay last slep
$usage
=
"
$0 '[-title text] [-minloss n] [-win n] [-graph file] [max-small-graphs n] [-outdir dir] [-head|-rhead] [-id id] [-names file] [-json file] [-v] [-version] [-esmond url] [file]...
Analyse gaps in a crude packet log
- output a list of statistical qos parameters as text or json
...
...
@@ -289,7 +287,7 @@ sub emit_summary_json{
"
duplicates
"
=>
$dupl
{
$id
}
*
1
||
0
,
"
reordered
"
=>
$reorder
{
$id
}
*
1
||
0
,
"
dTTL
"
=>
$dttl_count
{
$id
}
*
1
||
0
,
"
least_delay
"
=>
$least_delay
{
$id
}
,
"
least_delay
"
=>
sprintf
("
%.3f
",
$least_delay
{
$id
}
*
1000
)
,
"
down_ppm
"
=>
sprintf
(
"
%.3f
",
10
**
6
*
(
$small_time
{
$id
}
+
$big_time
{
$id
})
/
$duration
{
$id
}
)
*
1.0
# ppm
};
foreach
$gap_type
(
keys
%$gap_limit
){
# note dropped gaps
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment