forked from Github_Repos/cvw
Updated benchmark parsing script.
This commit is contained in:
parent
e1fd5925b0
commit
1a418d9fe2
@ -45,7 +45,7 @@ def ComputeBranchTargetMissRate(benchmark):
|
|||||||
'Computes and inserts branch target miss prediction rate.'
|
'Computes and inserts branch target miss prediction rate.'
|
||||||
# *** this is wrong in the verilog test bench
|
# *** this is wrong in the verilog test bench
|
||||||
(nameString, opt, dataDict) = benchmark
|
(nameString, opt, dataDict) = benchmark
|
||||||
branchTargetMissRate = 100.0 * int(dataDict['Br Target Wrong']) / (int(dataDict['Br Count']) + int(dataDict['Jump, JR, ret']) + int(dataDict['ret']))
|
branchTargetMissRate = 100.0 * int(dataDict['Br Target Wrong']) / (int(dataDict['Br Count']) + int(dataDict['Jump, JR, Jal']) + int(dataDict['ret']))
|
||||||
dataDict['BTMR'] = branchTargetMissRate
|
dataDict['BTMR'] = branchTargetMissRate
|
||||||
|
|
||||||
def ComputeRASMissRate(benchmark):
|
def ComputeRASMissRate(benchmark):
|
||||||
|
Loading…
Reference in New Issue
Block a user