commit | c284c025ddac12e559e20e86986955416372e1c0 | [log] [tgz] |
---|---|---|
author | Giacomo Travaglini <giacomo.travaglini@arm.com> | Wed Apr 07 11:36:38 2021 +0100 |
committer | Bobby R. Bruce <bbruce@ucdavis.edu> | Fri May 14 18:14:57 2021 +0000 |
tree | 392ebe91496e79612b93869adf0a022abb0dac40 | |
parent | a912482862c712e62a7c78370689f12e862dcbed [diff] |
sim: Fix Temperature class * Adding __str__ method: To fix its printing on config.ini (Replacing <m5.params.Temperature> with the Temperature value) * Replacing "fromKelvin" with from_kelvin (that's how pybind exports it) * Fixing config_value to allow JSON serialization (JIRA: https://gem5.atlassian.net/browse/GEM5-951) Change-Id: I1aaea9c9df6466a5cbed0a29c5937243796948d2 Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/44167 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-by: Jason Lowe-Power <power.jg@gmail.com> Maintainer: Andreas Sandberg <andreas.sandberg@arm.com> Tested-by: kokoro <noreply+kokoro@google.com> (cherry picked from commit 6cb9c3e87fa8034122310613079ae4f058f93233) Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/44745 Maintainer: Jason Lowe-Power <power.jg@gmail.com>