Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
tsn-measures
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
tsn-measures
Commits
767473e9
Commit
767473e9
authored
Jun 10, 2020
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix json formatting mistakes
parent
ba5ecdf7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
scripts/txtime_stats.py
scripts/txtime_stats.py
+3
-2
No files found.
scripts/txtime_stats.py
View file @
767473e9
...
@@ -36,8 +36,9 @@ def compute_offsets_stats(file_path, interval):
...
@@ -36,8 +36,9 @@ def compute_offsets_stats(file_path, interval):
measure_set
[
"measure_type"
]
=
"packet_jitter_tcpdump"
measure_set
[
"measure_type"
]
=
"packet_jitter_tcpdump"
measure_set
[
"props_names"
]
=
[
"packet_jitter_tcpdump"
]
measure_set
[
"props_names"
]
=
[
"packet_jitter_tcpdump"
]
measure_set
[
"units"
]
=
[
"us"
]
measure_set
[
"units"
]
=
[
"us"
]
measure_set
[
"props_type"
]
=
[
"histogram"
]
measure_set
[
"props_type"
]
=
"histogram"
measure_set
[
"metadata"
]
=
{
"i"
:
interval
}
measure_set
[
"metadata"
]
=
{
"i"
:
interval
}
measure_set
[
"middle"
]
=
1000
histogram
=
[
0
for
i
in
range
(
0
,
2000
)]
histogram
=
[
0
for
i
in
range
(
0
,
2000
)]
...
@@ -73,7 +74,7 @@ def compute_offsets_stats(file_path, interval):
...
@@ -73,7 +74,7 @@ def compute_offsets_stats(file_path, interval):
measure_set
[
"props"
]
=
[
histogram
]
measure_set
[
"props"
]
=
[
histogram
]
data
=
{}
data
=
{}
data
[
"measure_sets"
]
=
[
{
"measure_sets"
:
measure_set
}
]
data
[
"measure_sets"
]
=
[
measure_set
]
path
=
"tcpdump_histogram"
path
=
"tcpdump_histogram"
...
...
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