From 1fac059ebdd9b2bdab79428fcba11e7990a763b9 Mon Sep 17 00:00:00 2001 From: Jan Laukemann Date: Thu, 12 Oct 2017 18:55:04 +0200 Subject: [PATCH] changed 'testcases' to 'benchmarks' --- osaca/testcase.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/osaca/testcase.py b/osaca/testcase.py index 3c20167..a6a753b 100755 --- a/osaca/testcase.py +++ b/osaca/testcase.py @@ -98,15 +98,15 @@ class Testcase(object): """ if(lt): # Write latency file - call(['mkdir', '-p', os.path.dirname(__file__)+'/../testcases']) - f = open(os.path.dirname(__file__)+'/../testcases/'+self.instr+self.extension+'.S', 'w') + call(['mkdir', '-p', os.path.dirname(__file__)+'/../benchmarks']) + f = open(os.path.dirname(__file__)+'/../benchmarks/'+self.instr+self.extension+'.S', 'w') data = (self.def_instr + self.ninstr + self.init + self.dp1 + self.expand + self.gprPush + self.zeroGPR + self.copy + self.loop_lat + self.gprPop + self.done) f.write(data) f.close() if(tp): # Write throughput file - f = open(os.path.dirname(__file__) + '/../testcases/' + self.instr + self.extension + f = open(os.path.dirname(__file__) + '/../benchmarks/' + self.instr + self.extension + '-tp.S', 'w') data = (self.def_instr + self.ninstr + self.init + self.dp1 + self.expand + self.gprPush + self.zeroGPR + self.copy + self.loop_thrpt + self.gprPop + self.done) @@ -378,7 +378,7 @@ class Testcase(object): tp = False lt = False name = self.instr+self.extension - for root, dirs, files in os.walk(os.path.dirname(__file__)+'/testcases'): + for root, dirs, files in os.walk(os.path.dirname(__file__)+'/benchmarks'): if((name+'-tp.S') in files): tp = True if name+'.S' in files: