aboutsummaryrefslogtreecommitdiffstats
path: root/plot_exps.py
diff options
context:
space:
mode:
authorJonathan Herman <hermanjl@cs.unc.edu>2012-10-12 01:56:20 -0400
committerJonathan Herman <hermanjl@cs.unc.edu>2012-10-12 01:56:20 -0400
commitd66aa52d719cf7edad8cac20b711e4c16d2899de (patch)
tree167415c66fa78c045fc0a793fe655ffba4b24cfa /plot_exps.py
parent5d97a6baf6166b74355c6e744e010949a46fd625 (diff)
Bug fixes from mixed-criticality experiments
Diffstat (limited to 'plot_exps.py')
-rw-r--r--plot_exps.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/plot_exps.py b/plot_exps.py
index e69de29..06f43b0 100644
--- a/plot_exps.py
+++ b/plot_exps.py
@@ -0,0 +1,21 @@
1#!/usr/bin/env python
2from __future__ import print_function
3
4from optparse import OptionParser
5
6def parse_args():
7 parser = OptionParser("usage: %prog [options] [csv_dir]...")
8
9 parser.add_option('-o', '--out-dir', dest='out_dir',
10 help='directory for plot output', default='plot-data')
11 parser.add_option('-f', '--force', action='store_true', default=False,
12 dest='force', help='overwrite existing data')
13
14 return parser.parse_args()
15
16def main():
17 opts, args = parse_args()
18 args = args or [os.getcwd()]
19
20if __name__ == '__main__':
21 main()