From 503b60ed56fb3bc053a507470b8ef78926732683 Mon Sep 17 00:00:00 2001 From: Hoa Nguyen Date: Tue, 20 Apr 2021 01:57:28 -0700 Subject: [PATCH] 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 Change-Id: I35faa72b12320e6b41833f601eb23604358b3d42 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/44626 Reviewed-by: Jason Lowe-Power Reviewed-by: Giacomo Travaglini Maintainer: Jason Lowe-Power Tested-by: kokoro --- configs/example/arm/fs_power.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configs/example/arm/fs_power.py b/configs/example/arm/fs_power.py index 1c7b6b752b..7ae9cf83b9 100644 --- a/configs/example/arm/fs_power.py +++ b/configs/example/arm/fs_power.py @@ -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):