Thermal analysis of deformation mechanisms using a contacting technique