Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Apr 1998 02:36:18 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        root@enigami.com (root)
Cc:        current@FreeBSD.ORG
Subject:   Re: mono_time?
Message-ID:  <199804290236.TAA08885@usr01.primenet.com>
In-Reply-To: <199804280114.VAA02892@singularity.enigami.com> from "root" at Apr 27, 98 09:14:29 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> Can anyone tell me what is going on with mono_time?  There are a couple of
> files in the kernel source that use it, as does CAM, and there is even a
> man page that references it, but it doesn't seem to actually be defined
> anywhere!
> 
> Now, I am guessing that this was in vogue a while back, and is now a passing
> fad, as the CAM stuff built in the past, but doesn't (at least for me) any
> more.  So, what should replace it?

The system clock can be drift adjusted by syncing with an external
timebase.

If the drift adjustment is for a fast clock, this will cause time
to go back into the past.

If time goes back into the past, some events that should not recurr
will end up being "replayed" as time moves into the future again.

To combat this, you need a clock which is not subject to drift
adjustment.

Such a clock would be a "monotonically increasing value".

Or a "mono_time", for short.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804290236.TAA08885>