Add a throttled system function that only happens every n milliseconds.