def start(self):
     uri_idx, num_calls = self.input_entry
     httperf_args = []
     httperf_args.append(config.benchmark_home('httperf') + '/bin/httperf')
     httperf_args.append('--server=localhost')
     httperf_args.append('--port=8080')
     httperf_args.append('--uri=/test/%d.txt' % uri_idx)
     httperf_args.append('--num-calls=%d' % num_calls)
     httperf_args.append('--num-conns=1')
     logging.msg('client: uri_idx=%d, num_calls=%d\n' % (uri_idx, num_calls))
     self.fnull = open(os.devnull, 'w')
     self.proc = subprocess.Popen(httperf_args, stdout=self.fnull, stderr=self.fnull)
示例#2
0
 def input_dir(self):
     return config.benchmark_home('pbzip2_bug_unknown') + '/inputs'
示例#3
0
 def bin(self):
     return config.benchmark_home('pbzip2_bug_unknown') + '/pbzip2'
示例#4
0
 def verifier(self):
     return config.benchmark_home('aget_bug2') + '/verifier'
示例#5
0
 def home(self):
     return config.benchmark_home('mysql')
 def bin(self):
     return config.benchmark_home('memcached_bug_127') + '/bin/memcached'
示例#7
0
 def bin(self):
     return config.benchmark_home('splash2') + '/codes/kernels/radix/RADIX'
示例#8
0
文件: pbzip2.py 项目: HankFaan/maple
 def input_dir(self):
     return config.benchmark_home('pbzip2') + '/inputs'
示例#9
0
 def home(self):
     return config.benchmark_home('mysql_bug_791')
示例#10
0
文件: pbzip2.py 项目: HankFaan/maple
 def bin(self):
     return config.benchmark_home('pbzip2') + '/pbzip2'
示例#11
0
 def input_dir(self):
     return config.benchmark_home('pbzip2') + '/inputs'
示例#12
0
 def bin(self):
     return config.benchmark_home('pbzip2') + '/pbzip2'
示例#13
0
文件: mysql.py 项目: HankFaan/maple
 def home(self):
     return config.benchmark_home('mysql')
示例#14
0
文件: fft.py 项目: HankFaan/maple
 def bin(self):
     return config.benchmark_home('splash2') + '/codes/kernels/fft/FFT'
示例#15
0
文件: pfscan.py 项目: HankFaan/maple
 def bin(self):
     return config.benchmark_home('pfscan') + '/pfscan'
示例#16
0
 def bin(self):
     return config.benchmark_home('aget_bug1') + '/aget'
示例#17
0
 def home(self):
     return config.benchmark_home('apache')
 def home(self):
     return config.benchmark_home('apache_bug_25520')
示例#19
0
 def home(self):
     return config.benchmark_home('cnc_bug')
示例#20
0
 def bin(self):
     return config.benchmark_home('splash2') + '/codes/kernels/fft/FFT'
示例#21
0
 def bin(self):
     return config.benchmark_home('aget_bug2') + '/aget'
示例#22
0
文件: radix.py 项目: HankFaan/maple
 def bin(self):
     return config.benchmark_home('splash2') + '/codes/kernels/radix/RADIX'
示例#23
0
 def verifier(self):
     return config.benchmark_home('aget_bug2') + '/verifier'
示例#24
0
 def bin(self):
     return config.benchmark_home('pfscan') + '/pfscan'
示例#25
0
 def home(self):
     return config.benchmark_home('mysql_bug_791')