Window-Constrained Resource Management for Soft Real-time Applications