I am writting a Linux version of a windows application I made for my company. One thing I am not sure on how to do is create a timer. When a staff member starts filling the application a timer starts and saves how long it took to complete. The timer is displayed in the status bar or window title (not important). This was quite easy to do in windows, is there a system timer routine that calls a function at an interval of my choosing?