/[escript]/trunk/escript/py_src/benchmark.py
ViewVC logotype

Diff of /trunk/escript/py_src/benchmark.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 451 by gross, Mon Jan 23 23:45:43 2006 UTC revision 458 by gross, Tue Jan 24 06:20:50 2006 UTC
# Line 173  class Benchmark(object): Line 173  class Benchmark(object):
173         """         """
174         self.__problems.append(problem)         self.__problems.append(problem)
175    
176     def addOptions(self,Options):     def addOptions(self,options):
177         """         """
178         adds a options to the benchmark         adds a options to the benchmark
179    
180         @param options: adds a new option to the bechmark         @param options: adds a new option to the bechmark. If options==None they are are ignored
181         @type problem: L{Options}         @type problem: L{Options}
182         """         """
183         self.__options.append(Options)         if options!=None: self.__options.append(options)
184    
185     def run(self,scale=1):     def run(self,scale=1):
186         """         """

Legend:
Removed from v.451  
changed lines
  Added in v.458

  ViewVC Help
Powered by ViewVC 1.1.26