No, you canβt. Since the stopwatch does not actually work, like a thread that can be paused and resumed. It just takes time at the start and time at stop and calculates the difference.
Maybe if you post your code or concept, we could find a way to solve your problem without a stopwatch?
source share