A Control Framework For Continuous Time Adaptation In Modern Day Embedded Systems