Friday, 18 October 2019

cpu - How is time measured in computer systems?

Something I have been puzzled about is this: how exactly does a computer regulate and tell time? For example: if I were to write a program that did this:


Do 2+2 then wait 5 seconds


How does the processor know what "5 seconds" is? How is time measured in computer systems? Is there a specific chip for that sole purpose? How does it work?


Thanks for any replies; I'm really interested in computer science, and would love any help you could give me =D.

No comments:

Post a Comment

How can I VLOOKUP in multiple Excel documents?

I am trying to VLOOKUP reference data with around 400 seperate Excel files. Is it possible to do this in a quick way rather than doing it m...