This video demonstrates how to analyze real-time system scheduling using SimSo software, covering key concepts including activation diagrams, state transitions (ready, running, blocked), and response time calculation. The instructor shows how to calculate the hyper period using the Least Common Multiple (LCM) of task periods, and demonstrates how to measure CPU utilization, minimum and maximum response times for each task. The example uses 5 tasks with different periods to illustrate how the scheduler allocates CPU time and how preemption affects task completion times.
Deep Dive
Prerequisite Knowledge
- No data available.
Where to go next
- No data available.
Deep Dive
Real time system SimSo Simulation activation diagram, state, response timeAdded:
good day one today we are going to study further of real-time system on the resist using system software previously we have learned about the background of some software hopefully your install in your computer so these are linked there are some explanations so you can go to this website download if you have good because we're going to use this software for our coming quiz so these are example so let's say we are given five tasks 1 2 3 4 5 so the first one is the video and so and so forth okay so before we assume that the video is in mid second so now I'm going to show you how to keep this information to using the sim sim so software so this way you're going to see when you open your sim so software it's an unsafe with on them so the service we go there's an app demo dump ok execution time or the CPU is la Buse CET the worst case execution time so the scalable so let's say we use our famous study schedule strategy the the red monotony RM ok so the process is the model or you need processor after day we going to add the fastest we have 3 we have 5 so with 5 1 2 3 4 5 ok so after we our tall so we going to kill according to the given given video okay okay so I think is okay even though they said he wanted the period we want our CPU time the worst case time after day we just click run so we go so it's quite okay you know CPU only 0.44 or the 44% and then here we can see the tasks performed the computation time and the computation time basically is the CPU time as you can see here then we can see the response time respond time is minimal and maximal okay so it depends of what about the task for it is see the task for if based on all is the one it's a higher probability okay so this means there's no any preemption for the task for so this way if you can see that the complete time or the respond time is the same so it's one only there's no any preemption so after death we can see the dust free Astri the complete is 4.5 Messi also 4.5 yes because it's a least important task so that's me you need to wear all that us complete before you run this one [Music] story using this software division got low CPU Oviedo CPU if you are required to some medicine for your assessment complete he more than one complete cycle so the first X to be the crater was the hyper parameter juju so somehow now we run too fast so the step one as you your the hyper period so what Siberia for this case you can use this combo multiplier so how we going to get the disease this common multiplier of 1 multiply to 3 multiply to 3 or 3 to power 2 so we get the period of nine so something for our people so people TP 2 is is the 1918 ax equal to 9 x 2 this multiplier P 3 P 3 P 4 T 1 2 3 then we had 5 and are we going to be the highest so no the high is a 3-2 power to a tweet the power to 3 2 power 2 to the power 2 and 2 to power who this 190 by 2 3 so the least common multiplier will be 2 to power to multiply to 3 to power 2 so it's equal to 4 multiplied to nine okay so is for multiparty - now you get this so this the solution that you should be provided if you require to find the hyper PDO using this combo multiplier so to speak every 30 sees the petrol will repay so we can zoom in 35 the release time okay the release time the arrow the arrow point up is the release time for all the tests or intercepts is the the hyper period okay so the pattern will keep repeat repeat so now we need to change the period so that we can plot one complete hyper PD only so we need to the restored we do so we go to the model data what the general so the duration is too long so we know is that what this is okay okay we chose to cut this this very second and then we run again you see the activation I go again okay so you can stop me I said so we service for example quiz demo day okay next we want to study the step transition of these two bodies this lesson so basically we only have three so the time 0 0 so a purity all the toss is released gray so always the read is so very often already ready ready ready but the cost for each release no ready God is actually in the running step so that the task for is running at time zero so we have already really so these are first first on the system we can conclude at time zero so next we go to time four milliseconds at the time for miscomi second we we found out the won the toss one is completed so when you're at is completed until this time so actually is in the broad stack so the task to same as well it has been completed so it's in the block stay until the decimal this time the task tree is it running the tasks for is completed and the task find also complete so a purity these two also in the block it's a base if the time is a 2.5 years again so at the 2.5 miss again task 1 completed so it is in the block step and the task to have being completed so is in the register ok waiting the CPU okay the task we also know a computer at the time talk Wi-Fi so is in the ready state task for complete so it's in the blood and while the task 5 is in the running state so hopefully these three demonstration help you to understand how the state Trancy so that's the other reason is about the response time okay how long the tasks need to be respond or to be completed so basically sir I'm complete okay - this time so for example the task 1 the wrist is time 0 so the time complete is is complete all the CPU so basically we know that is to miss again second so for the second row just know any time so actually this direct educator so is 1 millisecond we go to this time until complete still 2 millisecond find around is Bob miss again from this time to complete time so the task - from readies to complete okay how long for me second okay Oh Mindy second the second with this time complete this one 22.5 is faster with 2.5 me second so to run the earth a three is 0.5 0.5 82nd 1 2 3 so this way 3.5 the task 2 is 2 for 3.5 only one only one wrong did the task for look like the first priority as you can see after release the top educated already one millisecond 5 we have 1 2 3 3 b 2nd from here we can conclude is 1 millisecond for us one about what max is two milliseconds okay the same analysis order Rizzo could be stepped in the rest of the task 2.5 3.5 a song okay so these are result so the thing I want to highlight is the task free and task 4 so since Austrian just for bow we only can officers one come response is a four point five one Michigan so the minimum maximum all the same so minimum needs a girl missing more Michigan okay and then we can open our software can you slide the reader and then general you create the task the tapped us so here we go you can see the minimum and maximum is the same as what we also from the chart so here this will help you to verify whether you get a right answer no okay so the computation time is the CPU premium there's no any preemption obviously we can also find the activation igress well this tiny what preemption in this example so in summary we have chakra the hyper period using this common multiplier for fighters we have plot the activation that using Sim Sim so software and we also on the rest our state and also the response time of each toss okay thank you
Related Videos
Agentforce NOW AMA: Build with React and Salesforce Multi-Framework
SalesforceDevs
490 viewsโข2026-05-28
How agent o11y differs from traditional o11y โ Phil Hetzel, Braintrust
aiDotEngineer
450 viewsโข2026-05-28
WEB TECHNOLOGIES UNIT-2 | Degree 4th sem BCOM Computers web technologies unit-2 full explanation๐ฏโ
LearnwithSahera
1K viewsโข2026-05-29
More tests are always better? How to use AI to identify tests that bring little value
Alliance4Qualification
335 viewsโข2026-05-29
Search Algorithms Explained in 60 Seconds! ๐ค๐จ
samarthtuliofficial
218 viewsโข2026-06-01
People of Game of Thrones using JavaScript DOM
AltCampus
296 viewsโข2026-05-30
Introduction to Problem Solving Part - 1 | Lecture 1 | Intermediate DSA
ascensionix
107 viewsโข2026-05-29
So What's Odin Lang Even Good For
TechOverTea
131 viewsโข2026-06-01











