Efficiency measurements with digital waveform analyzers