processing time calc