Resource consumption accounting