Compute stats from critical path