python: Export periodicStatDump
authorAndreas Sandberg <andreas.sandberg@arm.com>
Mon, 19 Dec 2016 16:25:39 +0000 (16:25 +0000)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Mon, 19 Dec 2016 16:25:39 +0000 (16:25 +0000)
commit8702208f3f0309cd1f88aa12b85b4ea31e6ee85c
treeb6bafc71b731c861047c0d1dec18e1b732f8e6b6
parent73627fa007f130c4dad34aadf1afa1d614de4669
python: Export periodicStatDump

Some configuration scripts need periodic stat dumps. One of the ways
this can be achieved is by using the pariodicStatDump helper
function. This function was previously only exported in the internal
name space. Export it as a normal function in m5.stat instead.

Change-Id: Ic88bf1fd33042a62ab436d5944d8ed778264ac98
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Sascha Bischoff <sascha.bischoff@arm.com>
configs/dram/lat_mem_rd.py
configs/dram/sweep.py
src/python/m5/stats/__init__.py