A metric for the energy-efficiency of dynamically reconfigurable systems