source:
trunk/IPs/systemC/processor/Morpheo/Common/src/Debug.cpp
@
83
Last change on this file since 83 was 82, checked in by , 16 years ago | |
---|---|
|
|
File size: 292 bytes |
Rev | Line | |
---|---|---|
[82] | 1 | /* |
2 | * $Id: Debug.cpp 82 2008-05-01 16:48:45Z rosiere $ | |
3 | * | |
4 | * [ Description ] | |
5 | * | |
6 | */ | |
7 | ||
[78] | 8 | #include "Common/include/Debug.h" |
9 | ||
10 | static uint32_t _debug_depth = 0; | |
11 | ||
12 | std::string debug_tab (void) | |
13 | { | |
14 | return std::string(_debug_depth,'\t'); | |
15 | } | |
16 | ||
[82] | 17 | void debug_tab_inc (void) |
[78] | 18 | { |
[82] | 19 | // _debug_depth ++; |
[78] | 20 | } |
21 | ||
[82] | 22 | void debug_tab_dec (void) |
[78] | 23 | { |
[82] | 24 | // _debug_depth --; |
[78] | 25 | } |
Note: See TracBrowser
for help on using the repository browser.