Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
osie
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
1
Merge Requests
1
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
osie
Commits
14ad036f
Commit
14ad036f
authored
1 year ago
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve report.
parent
bd7df765
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
rt_analyzer/analyze.py
rt_analyzer/analyze.py
+6
-4
No files found.
rt_analyzer/analyze.py
View file @
14ad036f
...
@@ -42,7 +42,8 @@ for line in lines_list[1:]:
...
@@ -42,7 +42,8 @@ for line in lines_list[1:]:
else
:
else
:
delta
=
timestamp
-
last_channel0_timestamp
delta
=
timestamp
-
last_channel0_timestamp
last_channel0_timestamp
=
timestamp
last_channel0_timestamp
=
timestamp
# but always add delta
# but always add delta if not 0
if
delta
>
0
:
timestamp_channel0_delta_list
.
append
(
delta
)
timestamp_channel0_delta_list
.
append
(
delta
)
if
channel1
!=
last_channel1_value
:
if
channel1
!=
last_channel1_value
:
...
@@ -53,7 +54,8 @@ for line in lines_list[1:]:
...
@@ -53,7 +54,8 @@ for line in lines_list[1:]:
else
:
else
:
delta
=
timestamp
-
last_channel1_timestamp
delta
=
timestamp
-
last_channel1_timestamp
last_channel1_timestamp
=
timestamp
last_channel1_timestamp
=
timestamp
# but always add delta
# but always add delta if not 0
if
delta
>
0
:
timestamp_channel1_delta_list
.
append
(
delta
)
timestamp_channel1_delta_list
.
append
(
delta
)
# update for next cycle
# update for next cycle
...
...
This diff is collapsed.
Click to expand it.
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