Performance regulation of event-driven dynamical systems using infinitesimal perturbation analysis. (November 2016)