mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
Updated benchmark parsing script.
This commit is contained in:
parent
49a7d10914
commit
5fb3a669b1
@ -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