Test Cases for the RTC to NTP Drift Test (Windows Embedded CE 6.0)

1/6/2010

The RTC to NTP Drift Test verifies if there is drift in the real-time clock (RTC) by comparing it to an NTP time server.

The following table shows the test cases for the RTC to NTP Drift 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 RTC to NTP Drift Test. Tells the user what the test does and specifies the input if any that the user needs to provide to the test.

1000

Measures the drift on the RTC. The test compares the RTC on the target device to an external NTP timer server.

You can either specify the server name or use the list of default servers from the test. The test checks the list of servers and picks one that it can access and use. If you specify the query flag using –c "-q", the test walks through the default server list or, if specified, the servers given in the command line determining which have NTP that the test can access.

The servers can be specified on the command line by appending "-servername1,name2,name3", where nameX can be either an IP address (v4 only) or DNS. Do not insert spaces between server names.

The default run time for the test is 3 hours. This can be changed by appending "-sleepTime time” to the command line, where time is the run time for the test. All values for time are considered to be in seconds unless the following modifiers are used:

  • s means seconds (12s = 12 seconds)
  • m means minutes (12m = 12 minutes)
  • h means hours (12h = 12 hours)
  • d means days (12d = 12 days)

See Also

Other Resources

RTC to NTP Drift Test