Logo SoCRocket

Transaction-Level Modeling Framework for Space Applications

Namespaces | Variables
benchmarkProc.py File Reference

Namespaces

 benchmarkProc
 

Variables

int benchmarkProc.maxSpeed = 0
 
string benchmarkProc.fastBench = ''
 
list benchmarkProc.runTime = []
 
dictionary benchmarkProc.benchSpeed = {}
 
tuple benchmarkProc.result = os.popen(sys.argv[1] + ' -a ' + benchmark)
 
tuple benchmarkProc.speed = float(res.split()[2])
 
tuple benchmarkProc.fileHandle = open('TRAP_stats.csv', 'w')
 
tuple benchmarkProc.fileCsvWriter = csv.writer(fileHandle, delimiter = ';')
 
tuple benchmarkProc.orderedBenchSpeed = sorted(list(benchSpeed.items()), lambda x, y: cmp(numpy.average(y[1]), numpy.average(x[1])))