Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-Erm
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
OpenXG
OpenXG-Erm
Commits
ee265562
Commit
ee265562
authored
Apr 12, 2021
by
Suzhi Bi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upload New File
parent
61181bb8
Pipeline
#65
canceled with stages
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
result_process.py
result_process.py
+21
-0
No files found.
result_process.py
0 → 100644
View file @
ee265562
timeout
=
0
f
=
open
(
"time.txt"
,
"r"
)
for
line
in
f
.
readlines
():
line
=
line
.
strip
()
if
'/'
in
line
:
str_0
=
line
.
split
(
'/'
)[
0
]
str_1
=
line
.
split
(
'/'
)[
1
]
time_0
=
str_0
.
split
()[
0
]
time_00
=
time_0
.
split
(
'('
)[
0
]
time_01
=
time_0
.
split
(
'('
)[
1
]
time_010
=
time_01
[:
-
1
]
time_1
=
str_1
.
split
()[
0
]
if
int
(
time_00
)
+
int
(
time_010
)
>
int
(
time_1
):
timeout
=
timeout
+
1
if
'Timeout'
in
line
:
timeout
=
timeout
+
1
if
'No free computing resources'
in
line
:
timeout
=
timeout
+
1
f
.
close
()
print
(
timeout
)
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