Re: get current time in kernel module
Re: get current time in kernel module
- Subject: Re: get current time in kernel module
- From: Mike Smith <email@hidden>
- Date: Fri, 29 Jul 2005 11:51:59 -0700
On Jul 28, 2005, at 12:29 PM, Allan Hoeltje wrote:
The kernel has no notion of the "time of day"; it is purely a userland conceit. It's quite possible, common and correct for different parts of the system to have different ideas about the current time of day. The kernel only knows about absolute time.
Then why does my System Log file contain entries from the kernel such as this one:
Jul 28 11:00:40 MyMac kernel[0]: AirPort: Link UP:
Maybe I misunderstand your response but it seems to me that there must be some way for the kernel to get the "current now" time of day.
...
If you use any of the standard kernel logging facilities, your messages will be timestamped automatically by the logging system.
= Mike
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden