 As pMOS and nMOS transistors switch on or off, they emit photons.These photons emissions are recorded by a sensitive photon detector.By counting the number of photons emitted for a specific transistor across a period of time, a photon histogram may be constructed.