Changeset 82 for trunk/IPs/systemC/processor/Morpheo/Common/src
- Timestamp:
- May 1, 2008, 6:48:45 PM (17 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Common/src
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Common/src/Debug.cpp
r81 r82 1 /* 2 * $Id$ 3 * 4 * [ Description ] 5 * 6 */ 7 1 8 #include "Common/include/Debug.h" 2 9 3 10 static uint32_t _debug_depth = 0; 4 5 11 6 12 std::string debug_tab (void) … … 9 15 } 10 16 11 void debug_ function_begin (std::string component, std::string function)17 void debug_tab_inc (void) 12 18 { 13 _debug_depth ++; 14 15 log_printf(FUNC,true,function.c_str(),"%sBegin",debug_tab().c_str()); 19 // _debug_depth ++; 16 20 } 17 21 18 void debug_ function_end (std::string component, std::string function)22 void debug_tab_dec (void) 19 23 { 20 log_printf(FUNC,true,function.c_str(),"%sEnd",debug_tab().c_str()); 21 22 _debug_depth --; 24 // _debug_depth --; 23 25 }
Note: See TracChangeset
for help on using the changeset viewer.