base: Rework the trie dump function to accept a different ostream.
authorGabe Black <gabeblack@google.com>
Sun, 3 Dec 2017 09:51:53 +0000 (01:51 -0800)
committerGabe Black <gabeblack@google.com>
Mon, 4 Dec 2017 23:18:46 +0000 (23:18 +0000)
commit0778fbbd4b716d4f9ca71355bf686e76b4165c23
tree191874fce9ccb914c16f103de9686c4bb5f0392c
parent1088f0c4ac3999fc3c363cc51daef4cfb360a2bd
base: Rework the trie dump function to accept a different ostream.

It might often be useful to write output to cout when dumping a trie,
but sometimes it might be useful to dump ot to something else like a
string stream instead.

Change-Id: Iaa4ae772c902b7dbc753f320d1a7eb5fcd4a3db3
Reviewed-on: https://gem5-review.googlesource.com/6266
Reviewed-by: Brandon Potter <Brandon.Potter@amd.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/base/trie.hh