Changeset 3272


Ignore:
Timestamp:
Jun 5, 2013, 4:20:17 PM (5 years ago)
Author:
bhull
Message:

RE perf script changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/RE/performance/perf.py

    r3256 r3272  
    4343
    4444def execute_one(execution, count):
    45 
    46         redirectoutput= ' > /dev/null 2>&1'
     45        log_file = open('perflog.txt', 'a')
     46        log_file.write('\nEXECUTION: '+execution.file.description+' '+ execution.expression.description+' '+ execution.program+' '+ execution.stat+'\n')
     47        log_file.close()
     48        redirectoutput= ' >> perflog.txt 2>&1'
    4749        if execution.program=='bitstreams':
     50               
    4851                re_home = '../'
    4952                re_input_file = open(re_home+'input/test/test1.re', 'w')
     
    151154writer = csv.writer(csv_output)
    152155
     156log_file = open('perflog.txt', 'w')
     157log_file.close()
     158
    153159for execution in executions:
    154160        calc,one,five,eleven = execute(execution)
Note: See TracChangeset for help on using the changeset viewer.