getAverage used to get average processing time