System Timer

Written by

in

A system timer is a general term that refers to different time-tracking mechanisms depending on whether you are talking about hardware, operating systems, or software development. 1. Hardware & Operating Systems (SysTick)

In computer hardware and embedded systems, a system timer is the physical “heartbeat” of the machine. It is a programmable interval timer embedded directly into the processor (such as the SysTick timer in ARM Cortex processors).

How it works: It operates as a 24-bit down-counter that decrements with every clock cycle. When it reaches zero, it resets and triggers a hardware interrupt.

Purpose: This interrupt forces the operating system kernel to take control. The OS uses this regular tick to manage process scheduling (switching between running applications), handle multitasking, and track system time. 2. Linux Administration (systemd Timers)

In Linux operating systems, systemd timers are special configuration files ending in .timer used to schedule tasks. They are the modern alternative to the traditional cron utility. Working with systemd Timers – SUSE Documentation

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *