Compare the phase noise of the same unit before and after the ultrasonic welding.
Phase noise accumulates as time jitter. Therefore, if you count many oscillations with a counter, then overflow edge will not fell always at the same moment, it will wiggle around the expected overflow moment, or else said it will show time jitter. By looking at how widespread the jitter is around the expected counter overflow moment, before and after USW, one can tell if there was any performance degradation.
This is an unrelated example based on the same principle (phase noise accumulated as jitter in time), where the oscilloscope is triggered at t0, then the counter overflow pulse (the one jumping back and forth on the oscilloscope's screen) is observed million counts later from t0 (here is one second later).