MCPcopy Index your code
hub / github.com/google/gvisor / RealtimeClock

Method RealtimeClock

pkg/sentry/kernel/kernel.go:1850–1852  ·  view source on GitHub ↗

RealtimeClock returns the application CLOCK_REALTIME clock.

()

Source from the content-addressed store, hash-verified

1848
1849// RealtimeClock returns the application CLOCK_REALTIME clock.
1850func (k *Kernel) RealtimeClock() ktime.SampledClock {
1851 return k.timekeeper.realtimeClock
1852}
1853
1854// MonotonicClock returns the application CLOCK_MONOTONIC clock.
1855func (k *Kernel) MonotonicClock() ktime.SampledClock {

Callers 12

ProcessesFunction · 0.80
getClockFunction · 0.80
TimeFunction · 0.80
GettimeofdayFunction · 0.80
TimerfdCreateFunction · 0.80
futexWaitAbsoluteFunction · 0.80
futexLockPIFunction · 0.80
newTaskMethod · 0.80
LoadSeccheckDataLockedFunction · 0.80
ValueMethod · 0.80
ValueMethod · 0.80
contextValueMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected