Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
German Leon
Carol-fi
Commits
a79cd35b
Commit
a79cd35b
authored
Jan 12, 2021
by
German Leon
Browse files
Detallito, un identacion
parent
bdaa88eb
Changes
2
Hide whitespace changes
Inline
Side-by-side
fault_injector.py
View file @
a79cd35b
...
...
@@ -647,7 +647,7 @@ def main():
global
kill_strings
,
current_path
,
gpus_threads
,
lock
,
syncro
,
wait_finish
signal
.
signal
(
signal
.
SIGUSR1
,
receiveSignal
);
signal
.
signal
(
signal
.
SIG
RTMIN
,
receiveEnd
);
signal
.
signal
(
signal
.
SIG
USR2
,
receiveEnd
);
parser
=
argparse
.
ArgumentParser
()
parser
.
add_argument
(
'-c'
,
'--conf'
,
dest
=
"config_file"
,
help
=
'Configuration file'
,
required
=
True
)
parser
.
add_argument
(
'-i'
,
'--iter'
,
dest
=
"iterations"
,
...
...
flip_value.py
View file @
a79cd35b
...
...
@@ -12,7 +12,7 @@ Handler attached to exit event
def
exit_handler
(
event
):
global
global_logging
os
.
system
(
"kill -s
SIGRTMIN
"
+
str
(
pid
))
os
.
system
(
"kill -s
USR2
"
+
str
(
pid
))
global_logging
.
info
(
str
(
"event type: exit"
))
print
(
"llego el final"
)
...
...
Write
Preview
Supports
Markdown
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