From ceae8383ffeebdc2c12d9a383941c62653471de1 Mon Sep 17 00:00:00 2001 From: Brad Beckmann Date: Fri, 29 Jan 2010 20:29:34 -0800 Subject: [PATCH] ruby: Replaced gems_common debug statements Replaced Ruby debug statements with M5 statements. --- src/mem/gems_common/Allocator.hh | 2 +- src/mem/gems_common/SConscript | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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::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') -- 2.30.2