google/gvisor

Support CLOCK_BOOTTIME

Open

#218 建立於 2019年4月29日

在 GitHub 查看
 (5 留言) (0 反應) (0 負責人)Go (12,713 star) (1,061 fork)batch import
area: compatibilitygood first issuepriority: p3type: enhancement

描述

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

貢獻者指南

Support CLOCK_BOOTTIME · google/gvisor#218 | Good First Issue