Fix scaling of CPU time by taking max of all times.

Reviewers: @mhyee