iveney / googletest

Automatically exported from code.google.com/p/googletest
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Elapsed time on Windows CE does not work correctly #196

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Write a google test app for Windows Mobile with tests that take some
amount of time.

What is the expected output? What do you see instead?
The elapsed time accurately shows how much time is elapsed

What version of the product are you using? On what operating system?
trunk on Windows Mobile

Please provide any additional information below.
You cannot get time of day to an accuracy greater than to the second. To
measure the elapsed time on Windows CE, you should use GetTickCount.

Original issue reported on code.google.com by dalewk...@gmail.com on 12 Sep 2009 at 11:20

GoogleCodeExporter commented 9 years ago
Here is a quick and dirty patch:

Original comment by dalewk...@gmail.com on 13 Sep 2009 at 12:04

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by zhanyong...@gmail.com on 16 Sep 2009 at 6:09

GoogleCodeExporter commented 9 years ago
I consider this a defect not an enhancement. It is a feature that does not work
correctly on one platform.

Original comment by dalewk...@gmail.com on 23 Sep 2009 at 3:57