Integrator based on current-controlled magnetic domain wall