Logo SoCRocket

Transaction-Level Modeling Framework for Space Applications

Variables
getSpeedResults Namespace Reference

Variables

string commandLine = '--cycles_range main-_exit --profiler profOut --prof_range main-_exit -n'
 
list load_instr = ['LDSB_imm', 'LDSB_reg', 'LDSH_imm', 'LDSH_reg', 'LDUB_imm', 'LDUB_reg', 'LDUH_imm', 'LDUH_reg', 'LD_imm', 'LD_reg', 'LDD_imm', 'LDD_reg', 'LDSBA_reg', 'LDSHA_reg', 'LDUBA_reg', 'LDUHA_reg', 'LDA_reg', 'LDDA_reg']
 
list store_instr = ['STB_imm', 'STB_reg', 'STH_imm', 'STH_reg', 'ST_imm', 'ST_reg', 'STD_imm', 'STD_reg', 'STBA_reg', 'STHA_reg', 'STA_reg', 'STDA_reg']
 
list double_instr = ['LDD_imm', 'LDD_reg', 'LDDA_reg', 'STD_imm', 'STD_reg', 'STDA_reg']
 
tuple fileHandle = open('timeValidation.txt', 'w')
 
tuple orderedBenchmarks = sorted(sys.argv[2:])
 
tuple result = os.popen(sys.argv[1] + ' ' + commandLine + ' -a ' + benchmark)
 
tuple cycles = int(res.split()[6])
 
tuple profResFile = open('profOut_instr.csv', 'r')
 
tuple profResReader = csv.reader(profResFile, delimiter = ';')
 
int load = 0
 
int store = 0
 
int doubleOps = 0
 
tuple instructions = int(row[2])
 

Variable Documentation

string getSpeedResults.commandLine = '--cycles_range main-_exit --profiler profOut --prof_range main-_exit -n'
tuple getSpeedResults.cycles = int(res.split()[6])
list getSpeedResults.double_instr = ['LDD_imm', 'LDD_reg', 'LDDA_reg', 'STD_imm', 'STD_reg', 'STDA_reg']
int getSpeedResults.doubleOps = 0
tuple getSpeedResults.fileHandle = open('timeValidation.txt', 'w')
tuple getSpeedResults.instructions = int(row[2])
int getSpeedResults.load = 0
list getSpeedResults.load_instr = ['LDSB_imm', 'LDSB_reg', 'LDSH_imm', 'LDSH_reg', 'LDUB_imm', 'LDUB_reg', 'LDUH_imm', 'LDUH_reg', 'LD_imm', 'LD_reg', 'LDD_imm', 'LDD_reg', 'LDSBA_reg', 'LDSHA_reg', 'LDUBA_reg', 'LDUHA_reg', 'LDA_reg', 'LDDA_reg']
tuple getSpeedResults.orderedBenchmarks = sorted(sys.argv[2:])
tuple getSpeedResults.profResFile = open('profOut_instr.csv', 'r')
tuple getSpeedResults.profResReader = csv.reader(profResFile, delimiter = ';')
tuple getSpeedResults.result = os.popen(sys.argv[1] + ' ' + commandLine + ' -a ' + benchmark)
int getSpeedResults.store = 0

Referenced by sc_main().

list getSpeedResults.store_instr = ['STB_imm', 'STB_reg', 'STH_imm', 'STH_reg', 'ST_imm', 'ST_reg', 'STD_imm', 'STD_reg', 'STBA_reg', 'STHA_reg', 'STA_reg', 'STDA_reg']