Measurement of loop gain and bandwidth in phase-locked loop of mode-locked laser