[15] | 1 | #ifndef morpheo_behavioural_generic_victim_victim_pseudo_lru_Parameters_h |
---|
| 2 | #define morpheo_behavioural_generic_victim_victim_pseudo_lru_Parameters_h |
---|
[10] | 3 | |
---|
| 4 | /* |
---|
| 5 | * $Id$ |
---|
| 6 | * |
---|
| 7 | * [ Description ] |
---|
| 8 | * |
---|
| 9 | */ |
---|
| 10 | |
---|
| 11 | #include "Behavioural/include/Parameters.h" |
---|
| 12 | #include <math.h> |
---|
| 13 | |
---|
| 14 | namespace morpheo { |
---|
| 15 | namespace behavioural { |
---|
| 16 | namespace generic { |
---|
| 17 | namespace victim { |
---|
[15] | 18 | namespace victim_pseudo_lru { |
---|
[10] | 19 | |
---|
| 20 | |
---|
| 21 | class Parameters : public morpheo::behavioural::Parameters |
---|
| 22 | { |
---|
| 23 | //-----[ fields ]------------------------------------------------------------ |
---|
| 24 | public : const uint32_t _nb_entity ; // number of entity |
---|
| 25 | public : const uint32_t _nb_access ; // number of port to select an entity |
---|
| 26 | public : const uint32_t _nb_update ; // number of port to update the internal entity |
---|
[15] | 27 | public : const uint32_t _size_table; // Size of victim_pseudo_lru's table |
---|
[10] | 28 | |
---|
| 29 | //-----[ methods ]----------------------------------------------------------- |
---|
| 30 | public : Parameters (uint32_t nb_entity , |
---|
| 31 | uint32_t nb_access , |
---|
| 32 | uint32_t nb_update , |
---|
| 33 | uint32_t size_table); |
---|
| 34 | public : Parameters (Parameters & param) ; |
---|
| 35 | public : ~Parameters () ; |
---|
| 36 | |
---|
| 37 | public : string msg_error (void); |
---|
| 38 | |
---|
| 39 | public : string print (uint32_t depth); |
---|
| 40 | public : friend ostream& operator<< (ostream& output_stream, |
---|
[15] | 41 | morpheo::behavioural::generic::victim::victim_pseudo_lru::Parameters & x); |
---|
[10] | 42 | }; |
---|
| 43 | |
---|
[15] | 44 | }; // end namespace victim_pseudo_lru |
---|
[10] | 45 | }; // end namespace victim |
---|
| 46 | }; // end namespace generic |
---|
| 47 | |
---|
| 48 | }; // end namespace behavioural |
---|
| 49 | }; // end namespace morpheo |
---|
| 50 | |
---|
| 51 | #endif |
---|