I use $ticks for CTCP PING to get the ping in miliseconds but this isn't really reliable. Is uptime more accurate than $ticks?
(You can try it out by creating a highres timer that prints $ticks after every 10ms - will be desynced)