Time variation of the profile of a Doppler broadened resonance line