cpu trace method