settimeofday function taking 24 - 30 minutes to complete

Scot Hetzel swhetzel at gmail.com
Tue Dec 19 17:41:10 PST 2006


On 12/19/06, Mark Kirkwood <markir at paradise.net.nz> wrote:
> Mark Kirkwood wrote:
>
> > Just tried out this on 6-STABLE
>
> > I can't get the hang at all (with or without thee extra includes):
> >
> > # time ./settimetest
> > INFO: Saved current time
> > INFO: settimeofday completed sucessfully
> > INFO: Reset time to original value
> > 0.000u 0.002s 0:00.00 0.0%      0+0k 0+0io 0pf+0w
> >
>
> Oops - thought I was reading -stable instead of -current list
> (doh).. sorry! Well at least you know it can work on *some* version of
> FreeBSD!....(I don't have any machines running -current at the moment to
> test).
>

Here's the time for the test on FreeBSD/amd64 -CURRENT, update yesterday.

hp010# date ; time ./t1 ; date
Tue Dec 19 19:07:33 CST 2006
INFO: Saved current time
INFO: settimeofday completed sucessfully
INFO: Reset time to original value
0.000u 1469.241s 0:00.00 0.0%   5+175k 0+0io 0pf+0w
Tue Dec 19 19:07:33 CST 2006
hp010# date 200612191933
Tue Dec 19 19:33:00 CST 2006

Scot
-- 
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.


More information about the freebsd-current mailing list