util: Make dot_writer ignore NULL simobjects.
authorGabe Black <gabeblack@google.com>
Tue, 26 Sep 2017 00:57:55 +0000 (17:57 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 26 Sep 2017 23:47:39 +0000 (23:47 +0000)
commit6c7d8c9967609b3b2bbba1ba2e97700696af6cf3
treed59e1ad9035aa76455603e1c6da6a4c6fdd855e2
parent5a27a68c736eb1d295e52e0d5cdd106942ffd6f2
util: Make dot_writer ignore NULL simobjects.

Also centralize the code which iterates over the parameters of a simnode's
children, and remove a copy/paste block of code in the DVFS block of code.

Change-Id: I01305fbff59346010780ee386ba97ad9106b1f5d
Reviewed-on: https://gem5-review.googlesource.com/4849
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/python/m5/util/dot_writer.py