Added efficiency calculation to scheduler.