Times are calculated according to question 'Status' field values: "resolution time" is a total time a question had a status belonging to 'Awaiting Staff Response' group with 'Include in Resolution time' flag set; "pending time" is a total time a question had a status belonging to 'Awaiting User Response' group with 'Include in Pending time' flag set.