Measure time attribute for sensors