Rename clock counter and implement clock interrupt.