diff options
author | Brad Beckmann <Brad.Beckmann@amd.com> | 2010-01-29 20:29:34 -0800 |
---|---|---|
committer | Brad Beckmann <Brad.Beckmann@amd.com> | 2010-01-29 20:29:34 -0800 |
commit | ceae8383ffeebdc2c12d9a383941c62653471de1 (patch) | |
tree | 23dfadc8f08320c1c9eec9ccec70f1fe2dc9ed02 | |
parent | 143d8ea698a832d80afb1a0cd6726cee1d47d4b5 (diff) | |
download | gem5-ceae8383ffeebdc2c12d9a383941c62653471de1.tar.xz |
ruby: Replaced gems_common debug statements
Replaced Ruby debug statements with M5 statements.
-rw-r--r-- | src/mem/gems_common/Allocator.hh | 2 | ||||
-rw-r--r-- | src/mem/gems_common/SConscript | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/mem/gems_common/Allocator.hh b/src/mem/gems_common/Allocator.hh index 58bdabee2..59c5a4c98 100644 --- a/src/mem/gems_common/Allocator.hh +++ b/src/mem/gems_common/Allocator.hh @@ -60,7 +60,7 @@ inline TYPE* Allocator<TYPE>::allocate(const TYPE& obj) { m_counter++; - DEBUG_EXPR(ALLOCATOR_COMP, LowPrio, m_counter); + DPRINTF(GemsCommon, "couter %d", m_counter); TYPE* new_obj_ptr; // See if we need to allocate any new objects diff --git a/src/mem/gems_common/SConscript b/src/mem/gems_common/SConscript index 69e7f88a3..1f3032646 100644 --- a/src/mem/gems_common/SConscript +++ b/src/mem/gems_common/SConscript @@ -43,3 +43,5 @@ benv.CXXFile('ioutil/attrparse.yy') Source('ioutil/attrlex.cc', Werror=False) Source('ioutil/attrparse.cc', Werror=False) Source('util.cc') + +TraceFlag('GemsCommon') |