QoS Control for Pipelines of Tasks using Multiple Resources