def stop(self) -> float:
        """Stop the timer, and report the elapsed time
        
        Return time is in Ms.
        """
        if self.start_time is None:
            raise TimerError(
                f"'.stop()' called on unstarted timer. '.start()' must be called before '.stop()'."
            )
        else:
            elapsed_time = time.perf_counter() - self.start_time
            self.start_time = None
            return 1000 * elapsed_time
Stop the timer, and report the elapsed time
        
        Return time is in Ms.
        
src/marqo/tensor_search/telemetry.py