Changeset 2591 for proto/parabix2


Ignore:
Timestamp:
Oct 30, 2012, 12:24:54 PM (7 years ago)
Author:
ksherdy
Message:

Added variable RUNS to perf script.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/parabix2/src/perf_script.py

    r2260 r2591  
    33from string import *
    44
     5RUNS=1
    56
    67testfile_home = "../../../trunk/QA/TD/"
     
    1516  for program in programs:
    1617    for testfile in testfiles:
    17       for i in range(10):
     18      for i in range(RUNS):
    1819        call(['./'+program, testfile_home+testfile], stderr=mes_f)
    1920       
     
    3334        row = program + '   &\t'
    3435        for testfile in testfiles:
    35           result = results_int[0:10]
    36           results_int = results_int[10:]
     36          result = results_int[0:RUNS]
     37          results_int = results_int[RUNS:]
    3738          row +=  str(min(result)/1000.0) + '   &\t'
    3839        row = row[:-4]
Note: See TracChangeset for help on using the changeset viewer.