Changeset 53 for trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/Statistics_print.cpp
- Timestamp:
- Sep 6, 2007, 6:30:49 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/Statistics_print.cpp
r2 r53 16 16 @NAMESPACE_BEGIN 17 17 18 #undef FUNCTION 19 #define FUNCTION "@COMPONENT::print" 18 20 string Statistics::print (uint32_t depth) 19 21 { 20 log_printf(FUNC,@COMPONENT, "print","Begin");22 log_printf(FUNC,@COMPONENT,FUNCTION,"Begin"); 21 23 22 24 string tab = string(depth,'\t'); … … 27 29 << tab << "</@COMPONENT_LOWER>" << endl; 28 30 29 log_printf(FUNC,@COMPONENT, "print","End");31 log_printf(FUNC,@COMPONENT,FUNCTION,"End"); 30 32 31 33 return msg.str(); 32 34 }; 33 35 36 #undef FUNCTION 37 #define FUNCTION "@COMPONENT::operator<<" 34 38 ostream& operator<< (ostream& output_stream , 35 39 morpheo::behavioural::@NAMESPACE_USE::Statistics & x) 36 40 { 41 log_printf(FUNC,@COMPONENT,FUNCTION,"Begin"); 42 37 43 output_stream << x.print(0); 44 45 log_printf(FUNC,@COMPONENT,FUNCTION,"End"); 38 46 39 47 return output_stream;
Note: See TracChangeset
for help on using the changeset viewer.