restart does the same as stop but reset the time origin with the returned value.
this is useful when one want to know a time delta in a loop for exemple.