Using integration by parts on Gaussian spacewe construct a Stein Unbiased Risk Estimator (SURE)for the drift of Gaussian processes, based on theirlocal and occupation times.By almost-sure minimization of the SURE risk ofshrinkage estimators we derive an estimation and de-noisingprocedure for an input signal perturbed by acontinuous-time Gaussian noise.