1 | /* |
---|
2 | * $Id: Parameters.cpp 110 2009-02-19 16:31:47Z rosiere $ |
---|
3 | * |
---|
4 | * [ Description ] |
---|
5 | * |
---|
6 | */ |
---|
7 | |
---|
8 | #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/include/Parameters.h" |
---|
9 | |
---|
10 | namespace morpheo { |
---|
11 | namespace behavioural { |
---|
12 | namespace core { |
---|
13 | namespace multi_front_end { |
---|
14 | namespace front_end { |
---|
15 | namespace prediction_unit { |
---|
16 | namespace direction { |
---|
17 | namespace meta_predictor { |
---|
18 | namespace two_level_branch_predictor { |
---|
19 | |
---|
20 | |
---|
21 | #undef FUNCTION |
---|
22 | #define FUNCTION "Two_Level_Branch_Predictor::Parameters" |
---|
23 | Parameters::Parameters (bool is_toplevel) |
---|
24 | { |
---|
25 | log_begin(Two_Level_Branch_Predictor,FUNCTION); |
---|
26 | |
---|
27 | test(); |
---|
28 | |
---|
29 | if (is_toplevel) |
---|
30 | { |
---|
31 | copy(); |
---|
32 | } |
---|
33 | |
---|
34 | log_end(Two_Level_Branch_Predictor,FUNCTION); |
---|
35 | }; |
---|
36 | |
---|
37 | // #undef FUNCTION |
---|
38 | // #define FUNCTION "Two_Level_Branch_Predictor::Parameters (copy)" |
---|
39 | // Parameters::Parameters (Parameters & param) |
---|
40 | // { |
---|
41 | // log_begin(Two_Level_Branch_Predictor,FUNCTION); |
---|
42 | // test(); |
---|
43 | // log_end(Two_Level_Branch_Predictor,FUNCTION); |
---|
44 | // }; |
---|
45 | |
---|
46 | #undef FUNCTION |
---|
47 | #define FUNCTION "Two_Level_Branch_Predictor::~Parameters" |
---|
48 | Parameters::~Parameters (void) |
---|
49 | { |
---|
50 | log_begin(Two_Level_Branch_Predictor,FUNCTION); |
---|
51 | log_end(Two_Level_Branch_Predictor,FUNCTION); |
---|
52 | }; |
---|
53 | |
---|
54 | #undef FUNCTION |
---|
55 | #define FUNCTION "Two_Level_Branch_Predictor::copy" |
---|
56 | void Parameters::copy (void) |
---|
57 | { |
---|
58 | log_begin(Two_Level_Branch_Predictor,FUNCTION); |
---|
59 | log_end(Two_Level_Branch_Predictor,FUNCTION); |
---|
60 | }; |
---|
61 | |
---|
62 | }; // end namespace two_level_branch_predictor |
---|
63 | }; // end namespace meta_predictor |
---|
64 | }; // end namespace direction |
---|
65 | }; // end namespace prediction_unit |
---|
66 | }; // end namespace front_end |
---|
67 | }; // end namespace multi_front_end |
---|
68 | }; // end namespace core |
---|
69 | |
---|
70 | }; // end namespace behavioural |
---|
71 | }; // end namespace morpheo |
---|