Skip to content

Commit

Permalink
continued prep for announced release
Browse files Browse the repository at this point in the history
  • Loading branch information
dmnTools committed Dec 17, 2024
1 parent b8985e7 commit dbfdd03
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 16 deletions.
7 changes: 4 additions & 3 deletions simulator/args/args-sim
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
-exprmnt exp-4
-inputLib ./input
-outputLib ./output
-cp cp.yaml
-cpInit cpInit.yaml
-funcExec funcExec.yaml
-devExec devExec.yaml
-exp exp.yaml
-map map.yaml
-topo topo.yaml
-inputLib ./input
-outputLib ./output
-msr msr.yaml
-container
-trace trace.yaml
-stop 100.0
-msr msr.yaml
-rngseed 234545
-tunits msec
14 changes: 5 additions & 9 deletions simulator/output/results.yaml
Original file line number Diff line number Diff line change
@@ -1,25 +1,21 @@
pces evaluation run at time 2024-12-16 04:52:05.546541
pces evaluation run at time 2024-12-16 22:39:59.046202
- exprmnt: exp-1
measurements:
- index: 1
latency: 1.0840000000007421 (msec)
- latency: 1.0840000000007421 (msec)
measurename: end2end
waypoints: []
- exprmnt: exp-2
measurements:
- index: 1
latency: 24.84399999999914 (msec)
- latency: 24.84399999999914 (msec)
measurename: end2end
waypoints: []
- exprmnt: exp-3
measurements:
- index: 1
latency: 1.0790000000015425 (msec)
- latency: 1.0790000000015425 (msec)
measurename: end2end
waypoints: []
- exprmnt: exp-4
measurements:
- index: 1
latency: 24.838999999999942 (msec)
- latency: 24.838999999999942 (msec)
measurename: end2end
waypoints: []
8 changes: 4 additions & 4 deletions simulator/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,9 @@ def main():
with open(os.path.join(argsDir,'args-sim-template'), 'r') as tf, open(os.path.join(argsDir,'args-sim'), 'w') as wf:
wf.write('-exprmnt {}\n'.format(exprmntName))

tagPairs = [('-inputDir', './input'), ('-outputDir', './output'), ('-cp', 'cp.yaml'), ('-cpInit', 'cpInit.yaml'),
tagPairs = [('-inputLib', './input'), ('-outputLib', './output'), ('-cp', 'cp.yaml'), ('-cpInit', 'cpInit.yaml'),
('-funcExec', 'funcExec.yaml'), ('-devExec', 'devExec.yaml'), ('-exp', 'exp.yaml'),('-map', 'map.yaml'),
('-topo', 'topo.yaml'), ('-msr', 'msrFile')]
('-topo', 'topo.yaml'), ('-msr', 'msr.yaml')]

if containerTag is not None:
tagPairs.append(('-container', ''))
Expand Down Expand Up @@ -190,9 +190,9 @@ def main():
continue
elif pieces[0] == '-topo':
continue
elif pieces[0] == 'inputDir':
elif pieces[0] == 'inputLib':
continue
elif pieces[0] == 'outputDir':
elif pieces[0] == 'outputLib':
continue
else:
wf.write(line)
Expand Down

0 comments on commit dbfdd03

Please sign in to comment.