Yeah, the ECM does it all the time in real time. You put 87 in the knock sensors will see some knock activity immedaiately and take stetp to pull the timing back til it stops....hence the lower rating on 87. Similarly, put 93 in and the ECM will add timing to a preset maximum to maximise power.
2014 Premium GT, SGM, Brembo, Auto, Tech, Comfort, etc. GT500s, Steeda UCA, VMP auto tune, 100 shot on BBR tune, best et: 11.38 at 120.85
2012 GT, Candy Red, Brembo, 3.73, Tech, Comfort, etc. Procal tune, Roush upper, UMI LCAs, Steeda red bracket, GT500s, 28X10X16 Hoosier slicks, best et: 11.91 at 115.23 RIP