MCPcopy Create free account
hub / github.com/facebook/time / ClockGettime

Function ClockGettime

phc/unix/types.go:140–140  ·  view source on GitHub ↗
(c int32, t *Timespec)

Source from the content-addressed store, hash-verified

138
139func ByteSliceToString(b []byte) string { return unix.ByteSliceToString(b) }
140func ClockGettime(c int32, t *Timespec) error { return unix.ClockGettime(c, t) }
141func Close(fd int) (err error) { return unix.Close(fd) }
142func ErrnoName(e syscall.Errno) string { return unix.ErrnoName(e) }
143func Poll(f []PollFd, t int) (int, error) { return unix.Poll(f, t) }

Callers 4

TimeMethod · 0.92
TimeAndOffsetFromDeviceFunction · 0.92
getRawMonotonicFunction · 0.92
uptimeFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…