From this question System.currentTimeMillis() is not accurate on windows XP? I know that on windows XP, the time interval is 15ms or 16ms with Java.
But is it only Java’s problem? If I use C/C++/Python, can I get a more accurate time interval on windows XP?
This doesn’t have much to do with language!
It has to do how the function you use is implemented… which again has to do with the APIs available in the OS (different API function can have different accuracy) you use AND with the hardware you are running on (different CPU/chipset can expose different ways and different accuracy)…