Precise energy efficient scheduling of mixed-criticality tasks & sustainable mixed-criticality scheduling