1 | /* |
---|
2 | * $Id: Parameters.cpp 88 2008-12-10 18:31:39Z rosiere $ |
---|
3 | * |
---|
4 | * [ Description ] |
---|
5 | * |
---|
6 | */ |
---|
7 | |
---|
8 | #include "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Register_translation_unit_Glue/include/Parameters.h" |
---|
9 | |
---|
10 | namespace morpheo { |
---|
11 | namespace behavioural { |
---|
12 | namespace core { |
---|
13 | namespace multi_ooo_engine { |
---|
14 | namespace ooo_engine { |
---|
15 | namespace rename_unit { |
---|
16 | namespace register_translation_unit { |
---|
17 | namespace register_translation_unit_glue { |
---|
18 | |
---|
19 | |
---|
20 | #undef FUNCTION |
---|
21 | #define FUNCTION "Register_translation_unit_Glue::Parameters" |
---|
22 | Parameters::Parameters (uint32_t nb_inst_insert, |
---|
23 | uint32_t nb_inst_retire, |
---|
24 | uint32_t size_general_register, |
---|
25 | uint32_t size_special_register, |
---|
26 | bool is_toplevel) |
---|
27 | { |
---|
28 | log_printf(FUNC,Register_translation_unit_Glue,FUNCTION,"Begin"); |
---|
29 | |
---|
30 | _nb_inst_insert = nb_inst_insert; |
---|
31 | _nb_inst_retire = nb_inst_retire; |
---|
32 | |
---|
33 | test(); |
---|
34 | |
---|
35 | if (is_toplevel) |
---|
36 | { |
---|
37 | _size_general_register = size_general_register; |
---|
38 | _size_special_register = size_special_register; |
---|
39 | |
---|
40 | copy (); |
---|
41 | } |
---|
42 | |
---|
43 | log_printf(FUNC,Register_translation_unit_Glue,FUNCTION,"End"); |
---|
44 | }; |
---|
45 | |
---|
46 | // #undef FUNCTION |
---|
47 | // #define FUNCTION "Register_translation_unit_Glue::Parameters (copy)" |
---|
48 | // Parameters::Parameters (Parameters & param) |
---|
49 | // { |
---|
50 | // log_printf(FUNC,Register_translation_unit_Glue,FUNCTION,"Begin"); |
---|
51 | // test(); |
---|
52 | // log_printf(FUNC,Register_translation_unit_Glue,FUNCTION,"End"); |
---|
53 | // }; |
---|
54 | |
---|
55 | #undef FUNCTION |
---|
56 | #define FUNCTION "Register_translation_unit_Glue::~Parameters" |
---|
57 | Parameters::~Parameters (void) |
---|
58 | { |
---|
59 | log_printf(FUNC,Register_translation_unit_Glue,FUNCTION,"Begin"); |
---|
60 | log_printf(FUNC,Register_translation_unit_Glue,FUNCTION,"End"); |
---|
61 | }; |
---|
62 | |
---|
63 | #undef FUNCTION |
---|
64 | #define FUNCTION "Register_translation_unit_Glue::copy" |
---|
65 | void Parameters::copy (void) |
---|
66 | { |
---|
67 | log_printf(FUNC,Register_translation_unit_Glue,FUNCTION,"Begin"); |
---|
68 | log_printf(FUNC,Register_translation_unit_Glue,FUNCTION,"End"); |
---|
69 | }; |
---|
70 | |
---|
71 | }; // end namespace register_translation_unit_glue |
---|
72 | }; // end namespace register_translation_unit |
---|
73 | }; // end namespace rename_unit |
---|
74 | }; // end namespace ooo_engine |
---|
75 | }; // end namespace multi_ooo_engine |
---|
76 | }; // end namespace core |
---|
77 | |
---|
78 | }; // end namespace behavioural |
---|
79 | }; // end namespace morpheo |
---|