No answers yet. Email email@example.com if you know some of the answers!
> 1. Is clock_gettime(CLOCK_REALTIME) consistent across all processors/cores? > (Does arch matter? e.g. x86, amd64, sparc).
> 2. Does clock_gettime(CLOCK_REALTIME) pick up the new time when a user > (e.g. root) changes the current time on their computer?
> 3. Does clock_gettime(CLOCK_REALTIME) pick up NTP changes? > 4. Does clock_gettime(CLOCK_REALTIME) pick up NTP clock slew?
> 5. gettimeofday() returns usec. Aside from that, what are the differences > between gettimeofday() and clock_gettime(CLOCK_REALTIME)? Which would you > recommend programmers use?
> Is the 2038/2106 problem a possibility for any of these?
> 6. How about setting the current time: what are the differences between > settimeofday() and clock_settime(CLOCK_REALTIME)?
> 7. How does clock_gettime(CLOCK_REALTIME) work? Let's assume the most recent > production releases of Solaris on the following:
> 32bit single core, single socket x86
> 64bit single core, single socket amd64
> 64bit multi-core, multi-socket sparc (newest generation)
> 64bit multi-core, single-socket laptop/notebook sparc
> 64bit multi-core, single-socket laptop/notebook amd64
> 8. Are there any interesting points / implementation notes worth knowing about > clock_gettime(CLOCK_REALTIME)? Any notes regarding virtual machines?
> 9. Closing Comments.