How does a program know actually what a second is?

597 views

So if a program needs to wait 10 seconds for something, how it is actually calculating it if the processors speed continously changes? (And i’m talking about offline programs that does not use NTP)

In: 361

20 Answers

Anonymous 0 Comments

Your computer has a clock built in.

The clock runs on its own.

NTP is just to check the clock against a global “master” clock, so everyone has the same time. The clock in your computer runs just fine without NTP. It might be off by half a second during the year, which is where correcting it via NTP is useful, but during a day or a few seconds that small difference isn’t noticeable.

You are viewing 1 out of 20 answers, click here to view all answers.