Date: 1896
Ans.  : This is done by using an indicator, which is attached to one end of the engine cylinder.  The indicator is itself a small cylinder with an open top, and a piston provided with a spring to keep it in position.