4-20mA or 0-10V input integrated with respect to time. Switch between total and the instantaneous rate.