Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Mar 2019 12:01:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 236702] KERN_UPTIME not updated after resume
Message-ID:  <bug-236702-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236702

            Bug ID: 236702
           Summary: KERN_UPTIME not updated after resume
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: trasz@FreeBSD.org

It seems the time returned by clock_gettime(CLOCK_UPTIME) doesn't get updated
on resume - in other words, when you reboot, then suspend to ram, then wait an
hour and resume, the uptime, as shown by uptime(1), won't account for that
hour.  This is different from eg OSX.

-- 
You are receiving this mail because:
You are the assignee for the bug.

help

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