Add cpu median value calculation.