configs: Fix stats name in arm/fs_power.py
In the config, there are stats having name changed: - overall_misses -> overallMisses - sim_seconds -> simSeconds - overall_accesses -> overallAccesses JIRA: https://gem5.atlassian.net/browse/GEM5-957 Signed-off-by: Hoa Nguyen <hoanguyen@ucdavis.edu> Change-Id: I35faa72b12320e6b41833f601eb23604358b3d42 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/44626 Reviewed-by: Jason Lowe-Power <power.jg@gmail.com> Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Maintainer: Jason Lowe-Power <power.jg@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -51,8 +51,8 @@ class CpuPowerOn(MathExprPowerModel):
|
||||
# 2A per IPC, 3pA per cache miss
|
||||
# and then convert to Watt
|
||||
self.dyn = "voltage * (2 * {}.ipc + 3 * 0.000000001 * " \
|
||||
"{}.dcache.overall_misses / sim_seconds)".format(cpu_path,
|
||||
cpu_path)
|
||||
"{}.dcache.overallMisses / simSeconds)".format(cpu_path,
|
||||
cpu_path)
|
||||
self.st = "4 * temp"
|
||||
|
||||
class CpuPowerOff(MathExprPowerModel):
|
||||
@@ -72,10 +72,10 @@ class CpuPowerModel(PowerModel):
|
||||
class L2PowerOn(MathExprPowerModel):
|
||||
def __init__(self, l2_path, **kwargs):
|
||||
super(L2PowerOn, self).__init__(**kwargs)
|
||||
# Example to report l2 Cache overall_accesses
|
||||
# Example to report l2 Cache overallAccesses
|
||||
# The estimated power is converted to Watt and will vary based
|
||||
# on the size of the cache
|
||||
self.dyn = "{}.overall_accesses * 0.000018000".format(l2_path)
|
||||
self.dyn = "{}.overallAccesses * 0.000018000".format(l2_path)
|
||||
self.st = "(voltage * 3)/10"
|
||||
|
||||
class L2PowerOff(MathExprPowerModel):
|
||||
|
||||
Reference in New Issue
Block a user