Global and Eisenbud-Wigner time delay in scattering theory