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_Front_end/Front_end/Prediction_unit/Update_Prediction_Table/include/Parameters.h" |
---|
10 | #include "Common/include/Max.h" |
---|
11 | #include <sstream> |
---|
12 | |
---|
13 | namespace morpheo { |
---|
14 | namespace behavioural { |
---|
15 | namespace core { |
---|
16 | namespace multi_front_end { |
---|
17 | namespace front_end { |
---|
18 | namespace prediction_unit { |
---|
19 | namespace update_prediction_table { |
---|
20 | |
---|
21 | |
---|
22 | #undef FUNCTION |
---|
23 | #define FUNCTION "Update_Prediction_Table::msg_error" |
---|
24 | Parameters_test Parameters::msg_error(void) |
---|
25 | { |
---|
26 | log_printf(FUNC,Update_Prediction_Table,FUNCTION,"Begin"); |
---|
27 | |
---|
28 | Parameters_test test ("Update_Prediction_Table"); |
---|
29 | |
---|
30 | for (uint32_t i=0; i<_nb_context; i++) |
---|
31 | if (_size_ufpt_queue [i] > _size_upt_queue [i]) |
---|
32 | test.error(toString(_("context \"%d\" : size_upt_queue must be >= at size_ufpt_queue\n"),i)); |
---|
33 | |
---|
34 | log_printf(FUNC,Update_Prediction_Table,FUNCTION,"End"); |
---|
35 | |
---|
36 | return test; |
---|
37 | }; |
---|
38 | |
---|
39 | }; // end namespace update_prediction_table |
---|
40 | }; // end namespace prediction_unit |
---|
41 | }; // end namespace front_end |
---|
42 | }; // end namespace multi_front_end |
---|
43 | }; // end namespace core |
---|
44 | |
---|
45 | }; // end namespace behavioural |
---|
46 | }; // end namespace morpheo |
---|