Last change
on this file since 134 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:
713 bytes
|
Line | |
---|
1 | /* |
---|
2 | * $Id: Priority_transition_load_balancing_priority_only.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_priority_only" |
---|
17 | void Priority::transition_load_balancing_priority_only (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 | _select.push_back(select_t(x,0)); |
---|
26 | } |
---|
27 | |
---|
28 | log_end(Priority,FUNCTION); |
---|
29 | }; |
---|
30 | |
---|
31 | }; // end namespace priority |
---|
32 | }; // end namespace generic |
---|
33 | }; // end namespace behavioural |
---|
34 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.