site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com --- At Thu, 23 Oct 2008 18:00:29 -0700, Terry Lambert wrote:
On Oct 23, 2008, at 1:08 PM, Duane Murphy wrote:
Is there an equivalent method for getting the current wall clock date and time akin to gettimeofday() from the kernel or IOKit?
There are time calls, but they are generally in GMT, since unlike gettimeofday(), there's no concept of time zone in the kernel itself.
This may be enough for our situation. I've not been able to work out which calls to use.
Most of these calls are pretty expensive. If you are wanting this data for logging purposes, you should log to a user space program that attaches the timestamps there.
This is not for logging and the calls are not used very often. ...Duane _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Duane Murphy