A control theoretic approach to energy-efficient pipelined computation in MPSoCs