google/gvisor

Support CLOCK_BOOTTIME

Offen

#218 geöffnet am 29.04.2019

 (5 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Go (1.061 Forks)batch import
area: compatibilitygood first issuepriority: p3type: enhancement

Repository-Metriken

Stars
 (12.713 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

We could likely make CLOCK_BOOTTIME equivalent to CLOCK_MONOTONIC, as CLOCK_MONOTONIC already includes time spent not running during save / restore, which is the closest thing we have to "suspend".

https://github.com/google/gvisor/blob/8f4634997bd97810a85a70b71f000378d9db2e55/pkg/sentry/kernel/timekeeper.go#L119-L129

Contributor Guide