By attaching a diamond crystal to an AFM tip, researcher at New York City University managed to measure the heat flows at atomic levels in resistors.
The method works due to a vacancy in the carbon lattice, two spots are empty of which one is filled with a nitrogen atom. The energy state of the vacancy is temperature dependent and can actually be read out spectroscopically.