Research Article

A High Performance Load Balance Strategy for Real-Time Multicore Systems

Pseudocode 2

Pseudocode of two levels deadline-aware hybrid load balancer.
(1) Initially, turning off all of DSPs, .
(2) When a task that needs be processed by DSP is released
(3)   
(4) % First level for load unbalance%
(5)   If ( )
(6) 
(7)  Turn on .
(8)   Else if ( )
(9)   if ( )
(10)  go to line 21
(11)   else
(12)  
(13)  Turn on .
(14)  Else if ( )
(15) 
(16)  Else
(17)  go to line 21
(18)  Dispatch the task to .
(19)  End
(20) % Second level for load balance%
(21)  If ( )
(22) 
(23)  Else if ( )
(24) 
(25)  Else if ( )
(26) 
(27)  Else
(28) 
(29)  Dispatch the task to .
(30)  End