Time In State Measurement