Fix cfs period calculation Upstream-commit: 9e43a68f697832cd895cf8c512d3f7d497b3d0f5 Component: engine