who is measuring the time ? by clock frequency of a processor ? by a timer ? need an answer in detail