diff options
-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') |