The CPU Digital Thermal Sensor measures temperature of each CPU core directly - it has an on-chip embedded diode per core.
Other CPU temperatures reported usually via discrete sensor chips (like ITE or Winbond, etc.) measure CPU temperature from a diode that's not directly attached to CPU, but underneath or close to it.