util: Add script to plot DRAM low power sweep
authorRadhika Jagtap <radhika.jagtap@arm.com>
Wed, 21 Jun 2017 10:17:43 +0000 (11:17 +0100)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Thu, 16 Nov 2017 16:39:19 +0000 (16:39 +0000)
commit9b4e797cdd7e10ace8de83626ea844a6acabcafb
tree88547cd0654d49f48bf1f648608961fc964e2302
parent1695c9933b53a606ba7044e1b2dfcfe8c203018e
util: Add script to plot DRAM low power sweep

This change adds a script to generate graphs from the stats file
output by the configuration script low_power_sweep.py.

The graphs show stacked bars for time spent and energy consumed
wherein each component of the stacked bar represents a DRAM power
state (Idle, Refresh, Active, Active Power-down, Precharge Power-down
and Self-refresh). The script generates one plot per delay value. It
also generates a pdf (--pdf option) in which the graphs are laid out
such that you can easily compare how the increasing delay and other
swept params affect the resulting energy.

Change-Id: Id80b0947bfde27e11e5505b23a3adb30f793a43f
Reviewed-by: Wendy Elsasser <wendy.elsasser@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/5727
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
util/dram_lat_mem_rd_plot.py [deleted file]
util/dram_sweep_plot.py [deleted file]
util/plot_dram/PlotPowerStates.py [new file with mode: 0755]
util/plot_dram/dram_lat_mem_rd_plot.py [new file with mode: 0755]
util/plot_dram/dram_sweep_plot.py [new file with mode: 0755]
util/plot_dram/lowp_dram_sweep_plot.py [new file with mode: 0755]