changeset a162a2b0b1f8 in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=a162a2b0b1f8
description:
ruby: Replaced gems_common debug statements
Replaced Ruby debug statements with M5 statements.
diffstat:
2 files changed, 3 insertions(+), 1 deletion(-)
src/mem/gems_common/Allocator.hh | 2 +-
src/mem/gems_common/SConscript | 2 ++
diffs (21 lines):
diff -r 775342cda4db -r a162a2b0b1f8 src/mem/gems_common/Allocator.hh
--- a/src/mem/gems_common/Allocator.hh Fri Jan 29 20:29:34 2010 -0800
+++ b/src/mem/gems_common/Allocator.hh Fri Jan 29 20:29:34 2010 -0800
@@ -60,7 +60,7 @@
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 -r 775342cda4db -r a162a2b0b1f8 src/mem/gems_common/SConscript
--- a/src/mem/gems_common/SConscript Fri Jan 29 20:29:34 2010 -0800
+++ b/src/mem/gems_common/SConscript Fri Jan 29 20:29:34 2010 -0800
@@ -43,3 +43,5 @@
Source('ioutil/attrlex.cc', Werror=False)
Source('ioutil/attrparse.cc', Werror=False)
Source('util.cc')
+
+TraceFlag('GemsCommon')
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev