Calculate and display average processing time per thread