Changeset 3639 for proto/RE


Ignore:
Timestamp:
Feb 23, 2014, 2:29:10 PM (5 years ago)
Author:
linmengl
Message:

add gre2p

File:
1 edited

Legend:

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

    r3632 r3639  
    128128                p = Popen(cmd,shell=True)
    129129                p.wait()
     130        if execution.program=='gre2p':
     131                pcregreplocation='gre2p/gre2p'
     132                e = escape_quotes(execution.expression.expression)
     133                cmd = ['perf stat -x, -o perfoutput -r '+str(count)+' -e '+ execution.stat+ ' '+pcregreplocation+' -c  \'' + e + '\' '+ execution.file.file + redirectoutput]
     134                print cmd
     135                p = Popen(cmd,shell=True)
     136                p.wait()
    130137        if execution.program=='agrep':
    131138                agreplocation='agrep-3.41/agrep'
     
    230237#expressions.append(Expression('(^|[^A-Z0-9:])([A-F0-9]{1,4}:){7}[A-F0-9]{1,4}($|[^A-Z0-9:])', 'IPv6', ('reb',)))
    231238
    232 programs = ['bitstreams', 'grep', 'nrgrep112']#, 'agrep', 'pcregrep']
     239# programs = ['bitstreams', 'grep', 'nrgrep112']#, 'agrep', 'pcregrep']
    233240# programs = ['bitstreams', 'bitstreams_avx2']
    234241#programs = ['bitstreams']
    235 #programs = ['gpu']
     242programs = ['gre2p']
    236243#programs = ['bitstreams','h2cv5']
    237244#
    238245#stats = ['cycles:u', 'instructions:u', 'cache-misses:u', 'L1-dcache-load-misses:u', 'L1-dcache-store-misses:u', 'L1-dcache-prefetch-misses:u', 'L1-icache-load-misses:u']
    239 stats = ['cycles:u','instructions:u']
     246stats = ['cycles:u','instructions:u', 'branch-misses:u']
    240247
    241248
Note: See TracChangeset for help on using the changeset viewer.