There's more...

Just to complete your understanding, it could be interesting to take a look at the legacy kernel timer API.