Convert total/process time into seconds