- Timestamp:
- Jan 19, 2008, 12:09:01 PM (16 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src
- Files:
-
- 1 added
- 4 deleted
- 5 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component.cpp
r68 r71 30 30 ,_param (param) 31 31 ,_usage (usage) 32 // #ifdef STATISTICS33 // ,_param_statistics (param_statistics)34 // #endif35 32 { 36 33 log_printf(FUNC,@COMPONENT,FUNCTION,"Begin"); … … 43 40 { 44 41 log_printf(INFO,@COMPONENT,FUNCTION,"Allocation of statistics"); 45 46 // Allocation of statistics 47 _stat = new Statistics (static_cast<string>(_name), 48 param_statistics , 49 param); 42 43 statistics_declaration(param_statistics); 50 44 } 51 45 #endif … … 90 84 log_printf(INFO,@COMPONENT,FUNCTION,"Generate Statistics file"); 91 85 92 _stat->generate_file(statistics(0));93 86 delete _stat; 94 87 } -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component_end_cycle.cpp
r69 r71 1 #if defined(STATISTICS) or defined(VHDL_TESTBENCH) 1 2 /* 2 3 * $Id$ 3 4 * 4 * [ 5 * [ Description ] 5 6 * 6 7 */ … … 19 20 20 21 #ifdef STATISTICS 21 _stat-> add();22 _stat->end_cycle(); 22 23 #endif 23 24 … … 34 35 }; // end namespace behavioural 35 36 }; // end namespace morpheo 37 #endif -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component_statistics_print.cpp
r59 r71 3 3 * $Id$ 4 4 * 5 * [ 5 * [ Description ] 6 6 * 7 7 */ … … 14 14 15 15 #undef FUNCTION 16 #define FUNCTION "@COMPONENT::statistics "17 st ring @COMPONENT::statistics(uint32_t depth)16 #define FUNCTION "@COMPONENT::statistics_print" 17 std::string @COMPONENT::statistics_print (uint32_t depth) 18 18 { 19 19 log_printf(FUNC,@COMPONENT,FUNCTION,"Begin"); 20 20 21 st ring txt = _stat->print(depth);21 std::string txt = _stat->print(depth); 22 22 23 23 log_printf(FUNC,@COMPONENT,FUNCTION,"End"); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component_transition.cpp
r69 r71 20 20 log_printf(FUNC,@COMPONENT,FUNCTION,"Begin"); 21 21 22 #if defined(STATISTICS) or defined(VHDL_TESTBENCH) 22 23 end_cycle (); 24 #endif 23 25 24 26 log_printf(FUNC,@COMPONENT,FUNCTION,"End"); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/Parameters_msg_error.cpp
r57 r71 9 9 #include "Behavioural/@DIRECTORY/include/Parameters.h" 10 10 #include <sstream> 11 using namespace std;12 11 13 12 namespace morpheo { … … 17 16 #undef FUNCTION 18 17 #define FUNCTION "@COMPONENT::msg_error" 19 st ring Parameters::msg_error(void)18 std::string Parameters::msg_error(void) 20 19 { 21 20 log_printf(FUNC,@COMPONENT,FUNCTION,"Begin"); 22 21 23 st ring msg = "";22 std::string msg = ""; 24 23 25 24 return msg; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/Parameters_print.cpp
r53 r71 8 8 #include "Behavioural/@DIRECTORY/include/Parameters.h" 9 9 #include "Behavioural/include/XML.h" 10 using namespace std;11 10 12 11 namespace morpheo { … … 16 15 #undef FUNCTION 17 16 #define FUNCTION "@COMPONENT::print" 18 st ring Parameters::print (uint32_t depth)17 std::string Parameters::print (uint32_t depth) 19 18 { 20 19 log_printf(FUNC,@COMPONENT,FUNCTION,"Begin");
Note: See TracChangeset
for help on using the changeset viewer.