You can use $ticks

Note that although it measures time in milliseconds it should only be considered accurate to within 5ms.


Spelling mistakes, grammatical errors, and stupid comments are intentional.