My code returns the time in seconds, to change it to milliseconds you'll just need to multiply it by 1000, but whats the point? ;)
I cant see any reason for dividing the frequency by 1000, as frequency is the number of ticks per second, could be wrong tho :)
I cant see any reason for dividing the frequency by 1000, as frequency is the number of ticks per second, could be wrong tho :)