source: trunk/IPs/systemC/processor/Morpheo/Common/src/Debug.cpp @ 88

Last change on this file since 88 was 88, checked in by rosiere, 16 years ago

Almost complete design
with Test and test platform

  • Property svn:keywords set to Id
File size: 528 bytes
RevLine 
[82]1/*
2 * $Id: Debug.cpp 88 2008-12-10 18:31:39Z rosiere $
3 *
4 * [ Description ]
5 *
6 */
7
[78]8#include "Common/include/Debug.h"
[88]9#include "Common/include/Environment.h"
[78]10
[88]11namespace morpheo {
12
[78]13static uint32_t _debug_depth = 0;
14
[88]15#undef  FUNCTION
16#define FUNCTION "debug_tab"
[78]17std::string debug_tab (void)
18{
19  return std::string(_debug_depth,'\t');
20}
21
[88]22#undef  FUNCTION
23#define FUNCTION "debug_tab_inc"
[82]24void debug_tab_inc (void)
[78]25{
[82]26//   _debug_depth ++;
[78]27}
28
[88]29#undef  FUNCTION
30#define FUNCTION "debug_tab_dec"
[82]31void debug_tab_dec (void)
[78]32{
[82]33//   _debug_depth --;
[78]34}
[88]35
36}; // end namespace morpheo
Note: See TracBrowser for help on using the repository browser.