You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Compute clock counts hibernated time after a resume (status, and a same-boot spored restart) #945
On hibernate-and-resume, the kernel's boot_id and /run both survive, because the RAM image is restored. Two places then measure running time on the wall clock from a timestamp that was recorded before the hibernation:
The daemon's own in-process count is fine. Go's time.Since uses CLOCK_MONOTONIC, which does not advance while the machine is suspended.
Expected: hibernated time is not compute (EC2 does not bill compute while hibernated). One fix is to persist CLOCK_MONOTONIC seconds instead of wall times. CLOCK_MONOTONIC is per-boot, comparable across processes, and excludes suspend. Another is to treat a large gap between the checkpoint's WrittenAt and now as not-running.
Activity
Exclude hibernated time from compute: measure it on the kernel's mono…
Exclude hibernated time from compute on Windows: measure it on the un…
Exclude hibernated time from compute: measure it on the kernel's mono…
Exclude hibernated time from compute on Windows: measure it on the un…
Exclude hibernated time from compute: measure it on the kernel's mono…
Exclude hibernated time from compute on Windows: measure it on the un…
Exclude hibernated time from compute: measure it on the kernel's mono…
Exclude hibernated time from compute on Windows: measure it on the un…
Exclude hibernated time from compute: measure it on the kernel's mono…
Exclude hibernated time from compute on Windows: measure it on the un…
Exclude hibernated time from compute: measure it on the kernel's mono…
Exclude hibernated time from compute on Windows: measure it on the un…
Exclude hibernated time from compute: measure it on the kernel's mono…
Exclude hibernated time from compute on Windows: measure it on the un…
Exclude hibernated time from compute: measure it on the kernel's mono…
Exclude hibernated time from compute: measure it on the kernel's mono…
Exclude hibernated time from compute on Windows: measure it on the un…
Exclude hibernated time from compute on Windows (#962) (#970)