Test Cases for the RTC Print Resolution and Time Test (Windows Embedded CE 6.0)

1/6/2010

The following table shows the test cases for the RTC Print Resolution and Time Test.

Note

If a tested clock does not run accurately, the expected duration of a test case shown in the following table might not be accurate.

Test case Description

1

Timer Test Usage Message

Prints out the usage message for the OAL Timer Tests. Tells the user what the tests do and specifies the input if any that the user needs to provide to the tests.

1210

RTC Resolution (high priority)

Determines the resolution of the RTC. The test case records the resolution of the clock for 1000 iterations and averages the recorded values to report a result.

This test uses GetSystemTime to access the RTC.

This test case runs at a scheduler priority of 1.

This test case prints out the calculated resolution; the user must verify that it is as expected. The test case fails if the average of the recorded values is greater than the maximum specified resolution, which is 1 second.

Ee505995.note(en-US,WinEmbedded.60).gifNote:
This test case evaluates resolution, not precision. The precision of a clock is the smallest unit of measurement that the clock displays. The resolution is the smallest interval/tick that the clock accurately measures.

1250

Print System Time

Prints out the value of the real-time clock ten times, sleeping for one second between each call.

This test uses GetLocalTime to access the RTC.

See Also

Other Resources

RTC Print Resolution and Time Test