what it means by timer resolution in microseconds
and resolution in nanoseconds?
Let me answer that with a regular digital clock anology. Suppose the clock shows this 17:13
. Does this means that it is 1700 hours (or 5PM for some people) and 13 minutes?
The answer is no. I only showed a clock with a resolution on minutes. The actual times might be 17:13 and 59 seconds. However my answer will always be rounded to full minutes.
If I add seconds to the clock then the resolution will increase 60 fold.
Now back to computers, where we have the same thing. Just not in minutes but in microseconds...
Also, is it system time is drived from CPU cyclic counter register,
if so then how?
A modern computer has many time sources. Some on the CPU die, some elsewhere. Typically these have different resolutions and different abilities (e.g. fire once, fire every X seconds, ...). Some of them stop when a CPU is suspended (e.g. in C states), some do not.
As to 'system time'.. I am not sure what you mean by that.