Revert "Imported corrected timer function from google 3.10 code!"

This reverts commit af273487e11d3f0487552d59e5084f436600dc63.

After tests, performance drop too high. not good for us now.