Last change
on this file since 99 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:
772 bytes
|
Line | |
---|
1 | /* |
---|
2 | * $Id: Priority_transition_load_balancing_maximum_for_priority.cpp 88 2008-12-10 18:31:39Z rosiere $ |
---|
3 | * |
---|
4 | * [ Description ] |
---|
5 | * |
---|
6 | */ |
---|
7 | |
---|
8 | #include "Behavioural/Generic/Priority/include/Priority.h" |
---|
9 | |
---|
10 | namespace morpheo { |
---|
11 | namespace behavioural { |
---|
12 | namespace generic { |
---|
13 | namespace priority { |
---|
14 | |
---|
15 | #undef FUNCTION |
---|
16 | #define FUNCTION "Priority::transition_load_balancing_maximum_for_priority" |
---|
17 | void Priority::transition_load_balancing_maximum_for_priority (void) |
---|
18 | { |
---|
19 | log_begin(Priority,FUNCTION); |
---|
20 | |
---|
21 | for (uint32_t i=0; i<_nb_grp_select; i++) |
---|
22 | { |
---|
23 | uint32_t x=(reg_GRP_PRIORITY+i)%_nb_grp; |
---|
24 | |
---|
25 | for (uint32_t j=0; j<_nb_elt[x]; j++) |
---|
26 | _select.push_back(select_t(x,j)); |
---|
27 | } |
---|
28 | |
---|
29 | log_end(Priority,FUNCTION); |
---|
30 | }; |
---|
31 | |
---|
32 | }; // end namespace priority |
---|
33 | }; // end namespace generic |
---|
34 | }; // end namespace behavioural |
---|
35 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.