Instrument used to measure heartbeat