diff options
author | Gabe Black <gabeblack@google.com> | 2019-08-16 23:14:50 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2019-08-27 22:18:10 +0000 |
commit | f4f31b261cdda95fe6e5a5a71ce232ee479686ae (patch) | |
tree | 157a6b809b4ded3d8bdd9b43b04c1c211ccfae7d /src/cpu/base.cc | |
parent | 51d46ef4c69173cad68e35142715c04a5b882983 (diff) | |
download | gem5-f4f31b261cdda95fe6e5a5a71ce232ee479686ae.tar.xz |
sim: Add a << overload for the Port class which prints its name.
This makes it easier/less verbose to print the name of a port, it's
most important and identifying feature, in a DPRINTF or other stream
based output.
Change-Id: I050d102844612577f9a83d550e619736507a6781
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/20234
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'src/cpu/base.cc')
0 files changed, 0 insertions, 0 deletions