$ticks has a resolution of 1ms, but it's accuracy is (allegedly) closer to 10ms. I'm not really sure how and where this major lack of accuracy comes into play though, since $ticks works just fine for 1ms accuracy when benchmarking in mIRC.