diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-04-22 15:32:12 -0400 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-04-22 15:32:12 -0400 |
commit | 25ccdb0cbc6b959b1f96c89b8bce91963cb67b4c (patch) | |
tree | dcaeb7d85f3dcc0f2afbb53d11c512c71fb712ab /parse_exps.py | |
parent | fbd1df6f63eb551b99f71330d2370c570ff323f5 (diff) |
Improved robustness of run_exps.py execution.
Thanks to bcw and gelliott for debugging and ideas.
* Print out experiment number and total experiments when starting experiments.
* Only sleep and re-release tasks if tasks are waiting to release.
* Fail experiment with verbose messages if any tasks fail before becoming ready
to release.
* When waiting for tasks to become ready for release, reset the waiting time
whenever a new task (or task(s)) become ready.
* Start regular tracers BEFORE the plugin switch to log data from the switch.
* Check the number of running tasks AFTER trying to switch the linux scheduler.
This gives plugin deactivate code the opportunity to kill these tasks.
* If an invalid executable is specified in the schedule file, fail before
attempting to run the experiment and print out the problem.
* Propogate exceptions up from experiment failures instead of creating
ExperimentFailed exceptions.
This commit also made clock-frequency automatically ignored by parse_exps.py.
The value of this would change by +- a Mhz between experiments, ruining graphs.
Diffstat (limited to 'parse_exps.py')
-rwxr-xr-x | parse_exps.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/parse_exps.py b/parse_exps.py index d07378c..c2cbedb 100755 --- a/parse_exps.py +++ b/parse_exps.py | |||
@@ -140,8 +140,8 @@ def main(): | |||
140 | if opts.ignore: | 140 | if opts.ignore: |
141 | for param in opts.ignore.split(","): | 141 | for param in opts.ignore.split(","): |
142 | builder.try_remove(param) | 142 | builder.try_remove(param) |
143 | # Always average multiple trials | 143 | builder.try_remove(PARAMS['trial']) # Always average multiple trials |
144 | builder.try_remove(PARAMS['trial']) | 144 | builder.try_remove(PARAMS['cycles']) # Only need for feather-trace parsing |
145 | 145 | ||
146 | col_map = builder.build() | 146 | col_map = builder.build() |
147 | result_table = TupleTable(col_map) | 147 | result_table = TupleTable(col_map) |