Why tick is use in RTOS

Hi,

I any one help me to know why tick is used in RTOS

I any one help me to know why tick is used in RTOS

What do you mean with ‘tick’?

If you mean the clock-tick, I think it is obvious: it provides a sense of time. Where an action must be limited in time, it will be assigned so many clock-ticks.
The clock-tick may also be the moment to make a new task active.
Clock-ticks are used to implement timers.

But please tell more, why this short question?

As Hein says, the T in RTOS is Time, and it is normal that actions inside a Real-Time program are going to have some sort of time component to them. It can be time periods to do things at or time limits when actions need to be completed or they need to be aborted to avoid blocking other important actions.

Yes, there may be specific cases where a Real-Time system can could work without a time base, but it is rare, so it makes sense to build that functionality into the core of the RTOS.

Also, the time scale of these actions tend to be reasonable to use a system timer ‘tick’ as the unit of measure.

To give it with a real life instance comparison; In a simple way, one can compare it to the heartbeat.

Hi,

Can we use it in scheduler.