google/gvisor

Support CLOCK_BOOTTIME

Open

#218 opened on 2019年4月29日

GitHub で見る
 (5 comments) (0 reactions) (0 assignees)Go (1,061 forks)batch import
area: compatibilitygood first issuepriority: p3type: enhancement

Repository metrics

Stars
 (12,713 stars)
PR merge metrics
 (平均マージ 4d 22h) (30d で 184 merged PRs)

説明

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

コントリビューターガイド