Time-dependent measurements of metal impurity densities in a tokamak discharge by use of laser-induced fluorescence