Excitation efficiency measurement in multimode solid-state lasers