Merge pull request #512 from wenqing/timer

Update RunTime and CPUTime for mpi support.