This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: cyg_thread_delay and RTC resolution
- To: "Trenton D. Adams" <tadams at extremeeng dot com>
- Subject: RE: [ECOS] cyg_thread_delay and RTC resolution
- From: Gary Thomas <gthomas at cambridge dot redhat dot com>
- Date: Thu, 05 Jul 2001 09:05:04 -0600 (MDT)
- Cc: eCos discussion <ecos-discuss at sources dot redhat dot com>
- Organization: Red Hat, Inc.
On 05-Jul-2001 Trenton D. Adams wrote:
> How do I find out what the RTC resolution is? I found the RTC
> DENOMINATOR, NUMERATOR and PERIOD. Is the numerator the number of ticks
> per second?
Look at the test program 'tm_basic.cxx' - it includes code to decipher
the clock, computing nsec from the values returned by HAL_CLOCK_READ().