google/gvisor

Support CLOCK_BOOTTIME

オープン

#218 opened on 2019/04/29

 (5 件のコメント) (0 件のリアクション) (0 人の担当者)Go (1,061 件のフォーク)batch import
area: compatibilitygood first issuepriority: p3type: enhancement

Repository metrics

Stars
 (12,713 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

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