[Bug 236702] KERN_UPTIME not updated after resume

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Mar 21 12:01:35 UTC 2019


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 at FreeBSD.org
          Reporter: trasz at 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.


More information about the freebsd-bugs mailing list