/uCOS-II-linux-port

uCOS-II examples run in Linux

Primary LanguageC

uCOS-II-linux-port

uCOS-II examples run in Linux

Ex1

                                Jean J. Labrosse                                
                                                                                
                                    EXAMPLE #1                                  
                                                                                
83373921640219460030205809447825421482334027735507654895060599989922528305553726
41969280637019280314876941162073321772913718399246469888409553837367599085518720
01642857453941965147448669996631452164242188523162347840578208434643397383384092
39606270017065749931546124247849753541034786238358369951741233886076996119314622
15668123694844935611151577052342735535501035845248941577221392661920497006731875
17242780536373831416457242774521091339914609086872848148497832816997884468248197
63345370048250890224239374198669270885454496970244473021315593011426829261461247
73539141297361585920039062456621041730841674573115138969084743253635289241316291
52355078795927873297514449738791912936289587609140685588648057837890127241204912
33976176886126894295936871064605840627346390111675163005231580256766779552499612
14626332251365779586283147380961997387998175871123392682687284898741355984676947
01274338742909700111503271924564625297789052489647254651533861557261533679274515
94412959597871601248752340054198071820605471713272444937554272484080582958600318
00810382833214008694746923886574998898742557266275602923777732958969438667035163
13551324729448483104697071989480850992158145505653107069702317459545850683240997
87860743912331394405801988303682582096553134125024861697622980080366580193355969
42652582460041089319450767035192818356664316510940985157550926507422196234014463
#Tasks          :   13   CPU Usage:  6  %                                       
#Task switch/sec: 1102                                                          
                            <-PRESS 'Ctrl C' TO QUIT->                    V2.52  

Ex2

                                Jean J. Labrosse                                
                                                                                
                                    EXAMPLE #2                                  
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
Task           Total Stack  Free Stack  Used Stack  ExecTime (uS)               
-------------  -----------  ----------  ----------  -------------               
                                                                                
TaskStart():      32768        29700        3068            17                  
TaskClk()  :      32768        30192        2576            95                  
Task1()    :      32768        30344        2424            17                  
Task2()    :      32768        30520        2248            18       /          
Task3()    :      32768        30008        2760            18       -          
Task4()    :      32768        30488        2280            19                  
Task5()    :      32768        30424        2344            18       E          
                                                                                
                                                                                
                                                                                
#Tasks          :    9   CPU Usage:  6  %                                       
#Task switch/sec:   42                                 Wed Feb 21 14:45:50 2018 
                            <-PRESS 'Ctrl C' TO QUIT->                    V2.52 

Ex3

                                Jean J. Labrosse                                
                                                                                
                                    EXAMPLE #3                                  
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
Task Name         Counter  Exec.Time(uS)   Tot.Exec.Time(uS)  %Tot.             
----------------- -------  -------------   -----------------  -----             
StartTask          00026         94               25424       64 %              
Clock Task         00046         84                4903       12 %              
MsgQ Rx Task       00185         11                5838       14 %   Task 4     
MsgQ Tx Task #2    00092          6                 575        1 %              
MsgQ Tx Task #3    00046          8                 339        0 %              
MsgQ Tx Task #4    00046          8                 336        0 %              
TimeDlyTask        00230         11                1713        4 %              
                                                                                
                                                                                
                                                                                
                                                                                
#Tasks          :    9   CPU Usage:  7  %                                       
#Task switch/sec:   41                                 Wed Feb 21 14:46:46 2018 
                            <-PRESS 'Ctrl C' TO QUIT->                    V2.52