Determining the duration of mass transfer and the temperature of metal subjected to pulsed deformation