- Timestamp:
- Apr 14, 2009, 8:39:12 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Queue/src/Queue.cpp
r88 r113 33 33 ,_usage (usage) 34 34 { 35 log_printf(FUNC,Queue,FUNCTION,"Begin"); 35 log_begin(Queue,FUNCTION); 36 37 // #if DEBUG_Core == true 38 // log_printf(INFO,Core,FUNCTION,_("<%s> Parameters"),_name.c_str()); 36 39 37 #if DEBUG_Core == true 38 log_printf(INFO,Core,FUNCTION,_("<%s> Parameters"),_name.c_str()); 40 // std::cout << *param << std::endl; 41 // #endif 39 42 40 std::cout << *param << std::endl; 41 #endif 42 43 log_printf(INFO,Queue,FUNCTION,"Allocation"); 43 log_printf(INFO,Queue,FUNCTION,_("<%s> Allocation"),_name.c_str()); 44 44 allocation (); 45 45 … … 47 47 if (usage_is_set(_usage,USE_STATISTICS)) 48 48 { 49 log_printf(INFO,Queue,FUNCTION, "Allocation of statistics");49 log_printf(INFO,Queue,FUNCTION,_("<%s> Allocation of statistics"),_name.c_str()); 50 50 51 51 statistics_declaration(param_statistics); … … 57 57 { 58 58 // generate the vhdl 59 log_printf(INFO,Queue,FUNCTION, "Generate the vhdl");59 log_printf(INFO,Queue,FUNCTION,_("<%s> Generate the vhdl"),_name.c_str()); 60 60 61 61 vhdl(); … … 66 66 if (usage_is_set(_usage,USE_SYSTEMC)) 67 67 { 68 log_printf(INFO,Queue,FUNCTION, "Method - transition");68 log_printf(INFO,Queue,FUNCTION,_("<%s> Method - transition"),_name.c_str()); 69 69 70 70 SC_METHOD (transition); … … 76 76 # endif 77 77 78 log_printf(INFO,Queue,FUNCTION, "Method - genMoore");78 log_printf(INFO,Queue,FUNCTION,_("<%s> Method - genMoore"),_name.c_str()); 79 79 80 80 SC_METHOD (genMoore); … … 88 88 #endif 89 89 } 90 log_ printf(FUNC,Queue,FUNCTION,"End");90 log_end(Queue,FUNCTION); 91 91 }; 92 92 … … 95 95 Queue::~Queue (void) 96 96 { 97 log_ printf(FUNC,Queue,FUNCTION,"Begin");97 log_begin(Queue,FUNCTION); 98 98 99 99 #ifdef STATISTICS 100 100 if (usage_is_set(_usage,USE_STATISTICS)) 101 101 { 102 log_printf(INFO,Queue,FUNCTION, "Generate Statistics file");102 log_printf(INFO,Queue,FUNCTION,_("<%s> Generate Statistics file"),_name.c_str()); 103 103 104 104 delete _stat; … … 106 106 #endif 107 107 108 log_printf(INFO,Queue,FUNCTION, "Deallocation");108 log_printf(INFO,Queue,FUNCTION,_("<%s> Deallocation"),_name.c_str()); 109 109 deallocation (); 110 110 111 log_ printf(FUNC,Queue,FUNCTION,"End");111 log_end(Queue,FUNCTION); 112 112 }; 113 113
Note: See TracChangeset
for help on using the changeset viewer.