[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r7704 - gnuradio/branches/developers/eb/gcell/src/apps
From: |
eb |
Subject: |
[Commit-gnuradio] r7704 - gnuradio/branches/developers/eb/gcell/src/apps |
Date: |
Fri, 15 Feb 2008 00:25:49 -0700 (MST) |
Author: eb
Date: 2008-02-15 00:25:49 -0700 (Fri, 15 Feb 2008)
New Revision: 7704
Modified:
gnuradio/branches/developers/eb/gcell/src/apps/gen_script.py
Log:
new --min-spes parameter
Modified: gnuradio/branches/developers/eb/gcell/src/apps/gen_script.py
===================================================================
--- gnuradio/branches/developers/eb/gcell/src/apps/gen_script.py
2008-02-15 07:25:07 UTC (rev 7703)
+++ gnuradio/branches/developers/eb/gcell/src/apps/gen_script.py
2008-02-15 07:25:49 UTC (rev 7704)
@@ -43,11 +43,15 @@
parser = OptionParser()
parser.add_option("-m", "--max-spes", type="int", default=max_spes_default,
- help="set maximum number of SPEs to use
[default=%default]")
+ metavar="NSPES",
+ help="maximum number of SPEs to use [default=%default]")
+ parser.add_option("", "--min-spes", type="int", default=1,
+ metavar="NSPES",
+ help="minimum number of SPEs to use [default=%default]")
parser.add_option("-p", "--oprofile", action="store_true", default=False,
help="emit oprofile commands")
parser.add_option("-t", "--tag", default=None,
- help="specify identifying tag used in generated
filenames")
+ help="additional goodie in generated filenames")
(options, args) = parser.parse_args()
if len(args) != 0:
parser.print_help()
@@ -94,7 +98,7 @@
f.write("(\n")
for udelay in (10, 50, 100, 200, 300):
- for nspes in range(1, options.max_spes+1):
+ for nspes in range(options.min_spes, options.max_spes+1):
cmd = "./benchmark_nop -n %d -u %d -N %d\n" % (nspes, udelay,
njobs[udelay])
f.write(cmd)
f.write(cmd)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r7704 - gnuradio/branches/developers/eb/gcell/src/apps,
eb <=