Cost Per Function analysis tool. Version I