diff --git a/DRAMSys/traceAnalyzer/scripts/metrics.py b/DRAMSys/traceAnalyzer/scripts/metrics.py index cc4e8e5e..c3a9f50f 100644 --- a/DRAMSys/traceAnalyzer/scripts/metrics.py +++ b/DRAMSys/traceAnalyzer/scripts/metrics.py @@ -90,6 +90,13 @@ def memory_idle(connection): return (idle[0]/clk) +@metric +def memory_delayed(connection): + total = memory_total(connection) + active = memory_active(connection) + idle = memory_idle(connection) + return total - active - idle + @metric def memory_utilisation_percent_new(connection): total = memory_total(connection)