Text this: Flexible window-based scheduling with critical worst case latency evaluations for real time traffic in time sensitive networks