diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2006-05-26 13:48:35 -0400 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2006-05-26 13:48:35 -0400 |
commit | da6a7b1263cf624790f06a5f944366fb113dffc8 (patch) | |
tree | 16110f2f8efa8b98a42d3b85c43a3a7b8ae1f1ce /src/mem/vport.hh | |
parent | cf826ae296a4277bdf2ce46e4484295efde5a3c2 (diff) | |
download | gem5-da6a7b1263cf624790f06a5f944366fb113dffc8.tar.xz |
Add names to memory Port objects for tracing.
--HG--
extra : convert_revision : ddf30084e343e8656e4812ab20356292b35507ee
Diffstat (limited to 'src/mem/vport.hh')
-rw-r--r-- | src/mem/vport.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mem/vport.hh b/src/mem/vport.hh index fbc230ba3..0f3b1f09e 100644 --- a/src/mem/vport.hh +++ b/src/mem/vport.hh @@ -53,8 +53,8 @@ class VirtualPort : public FunctionalPort ExecContext *xc; public: - VirtualPort(ExecContext *_xc = NULL) - : xc(_xc) + VirtualPort(const std::string &_name, ExecContext *_xc = NULL) + : FunctionalPort(_name), xc(_xc) {} /** Return true if we have an exec context. This is used to prevent someone |