A high-precision gated integrator for repetitive pulsed signals acquisition