Text this: Model of preemptive embedded systems for optimizing real-time performance