Surface and depth analysis based on sputtering