Wrapper for getting system time stamp in milliseconds.
This function must be implemented by the client code. It is a running time in milliseconds. The starting point of the timer is irrelevant.