commit | 9747cacf97d952ef597328c2c442700d951e26f6 | [log] [tgz] |
---|---|---|
author | Gabe Black <gabeblack@google.com> | Mon Sep 25 16:19:16 2017 -0700 |
committer | Gabe Black <gabeblack@google.com> | Tue Sep 26 23:47:14 2017 +0000 |
tree | 8e19bddaf79a9dd3a41da22ed0d578e0ffa3e365 | |
parent | 765c0bb6b3d771f3a9997ff772c9e03525e3bee1 [diff] |
sim: Add a get_config_as_dict to the NullSimObject class. Change-Id: I1ba6f6b196b7dfa790d1baaa23640bb3ed73f450 Reviewed-on: https://gem5-review.googlesource.com/4847 Maintainer: Gabe Black <gabeblack@google.com> Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
diff --git a/src/python/m5/params.py b/src/python/m5/params.py index 0f7d6e0..9ca4f2d 100644 --- a/src/python/m5/params.py +++ b/src/python/m5/params.py
@@ -1721,6 +1721,9 @@ return yield None + def get_config_as_dict(self): + return {} + def __str__(self): return self._name