Org mode allows you to clock the time you spend on specific tasks in a project. When you start working on an item, you can start the clock. When you stop working on that task, or when you mark the task done, the clock is stopped and the corresponding time interval is recorded. It also computes the total time spent on each subtree1 of a project. And it remembers a history or tasks recently clocked, so that you can jump quickly between a number of tasks absorbing your time.
To save the clock history across Emacs sessions, use:
(setq org-clock-persist 'history)
|• Clocking commands
|Starting and stopping a clock.
|• The clock table
|• Resolving idle time
|Resolving time when you’ve been idle.