Searched hist:13696 (Results 1 - 2 of 2) sorted by relevance
/gem5/src/mem/qos/ | ||
H A D | mem_ctrl.cc | diff 13430:4b0a26035e4b Wed Sep 07 09:04:00 EDT 2016 Matteo Andreozzi <Matteo.Andreozzi@arm.com> mem: avoid calling regStat twice on a QoSPolicy Change-Id: I216c57073fabe29c3f898a5d89cee41efd4277d5 Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Reviewed-on: https://gem5-review.googlesource.com/c/13696 Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com> Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com> |
/gem5/src/python/m5/util/ | ||
H A D | convert.py | diff 13696:b303ca652433 Fri Feb 15 20:10:00 EST 2019 Gabe Black <gabeblack@google.com> config: Make parameter conversion handle integers in other bases. Python's float() function/type can't handle hexadecimal notation, but int() can. Since there are also cases where converting to a float and then back to an int (or long) can cause rounding error, this change splits toFloat and toInteger apart and makes them call a worker function which accepts a conversion function which does the work of converting a numeric string into an actual number. in the case of toFloat, it still uses the standard float(), and in the case of toInteger it uses a lambda which wraps int(x, 0). Change-Id: Ic46cf4ae86b7eba6f55d731d1b25e3f84b8bb64c Reviewed-on: https://gem5-review.googlesource.com/c/16504 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Andreas Sandberg <andreas.sandberg@arm.com> |
Completed in 9 milliseconds