Programming and Evaluating Predictable Real-Time Tasks