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
Irradiar
Commits
f9aab839
Commit
f9aab839
authored
Feb 17, 2022
by
German Leon
Browse files
setconfig.py
parent
48d8f7ed
Changes
2
Hide whitespace changes
Inline
Side-by-side
microbench/test.py
View file @
f9aab839
...
@@ -46,7 +46,7 @@ def writeOutput(serie, output, elapsedTime, outputFileName, fileName):
...
@@ -46,7 +46,7 @@ def writeOutput(serie, output, elapsedTime, outputFileName, fileName):
serie
.
write
(
"
\n
***Elapsed time: %s ms. ***
\n
"
%
(
elapsedTime
))
serie
.
write
(
"
\n
***Elapsed time: %s ms. ***
\n
"
%
(
elapsedTime
))
# if verbose:
# if verbose:
# print("%s " % (output) )
# print("%s " % (output) )
# serie.write("%s " % (output) )
# serie.write("%s " % (output) )
output
+=
"
\n\n
***Elapsed time: "
+
`elapsedTime`
+
" ms. ***
\n\n
"
output
+=
"
\n\n
***Elapsed time: "
+
`elapsedTime`
+
" ms. ***
\n\n
"
...
...
startup_script.sh
View file @
f9aab839
#!/bin/bash
#!/bin/bash
# start the four cores
#/home/ubuntu/bin/startcores
export
MYHOME
=
$(
echo
$0
|cut
-d
'/'
-f1-3
)
export
MYHOME
=
$(
echo
$0
|cut
-d
'/'
-f1-3
)
cd
$MYHOME
cd
$MYHOME
#chmod
0666
/dev/
ttyS
0
#chmod
a+rw
/dev/
watchdog
0
# Nos vamos al directorio donde estan los test
date
>>
reboot.log
cd
`
grep
-v
\#
dir_test
`
export
LD_LIBRARY_PATH
=
/usr/local/cuda/lib64
echo
"Solo lo mantenemos vivo..."
# Nos vamos al directorio donde estan los test
cd
`
grep
-v
\#
dir_test
`
#$MYHOME/bin/serie.py
#tools/serie.py
#/home/happy/bin/serie.py
if
test
-f
"deleteindex.flag"
;
then
if
test
-f
"deleteindex.flag"
;
then
rm
lastFiNumber deleteindex.flag
rm
lastFiNumber deleteindex.flag
fi
fi
$MYHOME
/bin/iamalive
#/bin/bash
$MYHOME
/bin/iamalive_ini 20 10 &
./test.sh
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