Last change
on this file since 103 was
88,
checked in by rosiere, 16 years ago
|
Almost complete design
with Test and test platform
|
-
Property svn:keywords set to
Id
|
File size:
1.2 KB
|
Line | |
---|
1 | /* |
---|
2 | * $Id: Parameters_msg_error.cpp 88 2008-12-10 18:31:39Z rosiere $ |
---|
3 | * |
---|
4 | * [ Description ] |
---|
5 | * |
---|
6 | */ |
---|
7 | |
---|
8 | #include "Behavioural/include/Types.h" |
---|
9 | #include "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Reexecute_unit/include/Parameters.h" |
---|
10 | #include <sstream> |
---|
11 | |
---|
12 | namespace morpheo { |
---|
13 | namespace behavioural { |
---|
14 | namespace core { |
---|
15 | namespace multi_ooo_engine { |
---|
16 | namespace ooo_engine { |
---|
17 | namespace reexecute_unit { |
---|
18 | |
---|
19 | |
---|
20 | #undef FUNCTION |
---|
21 | #define FUNCTION "Reexecute_unit::msg_error" |
---|
22 | Parameters_test Parameters::msg_error(void) |
---|
23 | { |
---|
24 | log_begin(Reexecute_unit,FUNCTION); |
---|
25 | |
---|
26 | Parameters_test test ("Reexecute_unit"); |
---|
27 | |
---|
28 | if (_size_queue < _nb_inst_reexecute) |
---|
29 | test.error(_("size_queue must be >= nb_inst_reexecute_commit.\n")); |
---|
30 | |
---|
31 | if (_nb_execute_loop_select > _nb_execute_loop) |
---|
32 | test.error(toString(_("nb_execute_loop_select must be <= nb_execute_loop.\n"))); |
---|
33 | |
---|
34 | if (_size_bank == 1) |
---|
35 | test.warning(_("For better performance, the bank's size (size_queue/nb_bank) must be > 1.\n")); |
---|
36 | |
---|
37 | log_end(Reexecute_unit,FUNCTION); |
---|
38 | |
---|
39 | return test; |
---|
40 | }; |
---|
41 | |
---|
42 | }; // end namespace reexecute_unit |
---|
43 | }; // end namespace ooo_engine |
---|
44 | }; // end namespace multi_ooo_engine |
---|
45 | }; // end namespace core |
---|
46 | |
---|
47 | }; // end namespace behavioural |
---|
48 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.