AS201281 Wiki

Your check engine light is on!

User Tools

Site Tools


studies:re56:re56_scheduler_round_robin

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
studies:re56:re56_scheduler_round_robin [2013/05/08 08:18] – créée bpetitstudies:re56:re56_scheduler_round_robin [2021/01/04 20:41] (current) – external edit 127.0.0.1
Line 1: Line 1:
-DATA { INT ind_user; } + DATA { INT ind_user; } 
- +  
-RGB { RB rbs[] } + RGB { RB rbs[] } 
- +  
-USER { RGB rgbs[]; DATA datas_to_transmit[];+ USER { RGB rgbs[]; DATA datas_to_transmit[];
- +  
-# in the case of a lonely array as a buffer + # in the case of a lonely array as a buffer 
- +  
-DATA buffer[] # previously initialized  + DATA buffer[] # previously initialized  
-# and continuously filled by the incoming datas + # and continuously filled by the incoming datas 
- +  
-RGB all_rgbs[] + RGB all_rgbs[] 
- +  
-DATA u_data[nb_bits_per_sequence] + DATA u_data[nb_bits_per_sequence] 
- +  
-USER users[] + USER users[] 
- +  
-INT nb_bits_per_sequence + INT nb_bits_per_sequence 
- +  
-# scheduler size + # scheduler size 
-FOR u IN users DO + FOR u IN users DO 
- #FOR i in nb_bits_per_sequence DO + #FOR i in nb_bits_per_sequence DO 
- # u_data[i] = buffer.get_bit(u) + # u_data[i] = buffer.get_bit(u) 
- #ENDFOR + #ENDFOR 
- u_data[0] = buffer.get_bit(u) + u_data[0] = buffer.get_bit(u) 
- IF u_data.[0] IS NOT None + IF u_data.[0] IS NOT None 
- u.rgbs += GET_FREE_RGB() + u.rgbs += GET_FREE_RGB() 
- ENDIF + ENDIF 
-ENDFOR + ENDFOR 
- +  
-# in attention of the mapper + # in attention of the mapper 
-FOR u IN users DO + FOR u IN users DO 
- FOR i in nb_bits_per_sequence DO + FOR i in nb_bits_per_sequence DO 
- u_data[i] = buffer.get_bit(u)+ u_data[i] = buffer.get_bit(u) 
 + ENDFOR 
 + u.datas_to_transmit = u_data
  ENDFOR  ENDFOR
- u.datas_to_transmit = u_data 
-ENDFOR 
   
studies/re56/re56_scheduler_round_robin.1368001083.txt.gz · Last modified: 2021/01/04 20:41 (external edit)