1 | #ifndef morpheo_behavioural_generic_victim_victim_pseudo_lru_Parameters_h |
---|
2 | #define morpheo_behavioural_generic_victim_victim_pseudo_lru_Parameters_h |
---|
3 | |
---|
4 | /* |
---|
5 | * $Id: Parameters.h 137 2010-02-16 12:35:48Z rosiere $ |
---|
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 { |
---|
18 | namespace victim_pseudo_lru { |
---|
19 | |
---|
20 | |
---|
21 | class Parameters : public morpheo::behavioural::Parameters |
---|
22 | { |
---|
23 | //-----[ fields ]------------------------------------------------------------ |
---|
24 | public : uint32_t _nb_entity ; // number of entity |
---|
25 | public : uint32_t _nb_access ; // number of port to select an entity |
---|
26 | //public : uint32_t _nb_update ; // number of port to update the internal entity |
---|
27 | public : uint32_t _size_table; // Size of victim_pseudo_lru's table |
---|
28 | public : bool _table_global; |
---|
29 | public : uint32_t _size_address; |
---|
30 | |
---|
31 | //-----[ methods ]----------------------------------------------------------- |
---|
32 | public : Parameters (uint32_t nb_entity , |
---|
33 | uint32_t nb_access , |
---|
34 | // uint32_t nb_update , |
---|
35 | uint32_t size_table, |
---|
36 | bool table_global); |
---|
37 | // public : Parameters (Parameters & param) ; |
---|
38 | public : ~Parameters () ; |
---|
39 | |
---|
40 | public : void copy (void); |
---|
41 | |
---|
42 | public : Parameters_test msg_error (void); |
---|
43 | |
---|
44 | public : std::string print (uint32_t depth); |
---|
45 | public : friend std::ostream& operator<< (std::ostream& output_stream, |
---|
46 | morpheo::behavioural::generic::victim::victim_pseudo_lru::Parameters & x); |
---|
47 | }; |
---|
48 | |
---|
49 | }; // end namespace victim_pseudo_lru |
---|
50 | }; // end namespace victim |
---|
51 | }; // end namespace generic |
---|
52 | |
---|
53 | }; // end namespace behavioural |
---|
54 | }; // end namespace morpheo |
---|
55 | |
---|
56 | #endif |
---|