Time Domain Optical Sensing