Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
1cb75bf8
Commit
1cb75bf8
authored
Jun 11, 2022
by
Hejing Li
Browse files
ae: deterministic add output processing
parent
8409084b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
experiments/ae/deterministic.sh
experiments/ae/deterministic.sh
+7
-1
No files found.
experiments/ae/deterministic.sh
View file @
1cb75bf8
#!/bin/bash
#!/bin/bash
set
-x
# Runs the same simulation by default five times.
# Runs the same simulation by default five times.
if
[
-z
"
$1
"
]
if
[
-z
"
$1
"
]
then
then
...
@@ -15,5 +15,11 @@ START=1
...
@@ -15,5 +15,11 @@ START=1
# Parse the json file into experiment's out_dir
# Parse the json file into experiment's out_dir
for
i
in
$(
seq
1
$run_num
)
;
for
i
in
$(
seq
1
$run_num
)
;
do
do
mkdir
-p
out/dt-gt-ib-sw/
${
i
}
python3 pyexps/log_parser.py out/dt-gt-ib-sw-
$i
.json
python3 pyexps/log_parser.py out/dt-gt-ib-sw-
$i
.json
cat
out/dt-gt-ib-sw/
${
i
}
/host.client.0 |
awk
'/system.pc.simbricks_0:/ {print $1}'
>
out/dt-gt-ib-sw/
${
i
}
/host_trim
done
done
diff out/dt-gt-ib-sw/1/host_trim out/dt-gt-ib-sw/2/host_trim
>
out/dt-gt-ib-sw/host_trim12.diff
\ No newline at end of file
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