Home | History | Annotate | Download | only in syscall

Lines Matching full:nsec

848 	Nsec int64
851 func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
853 func NsecToTimespec(nsec int64) (ts Timespec) {
854 ts.Sec = nsec / 1e9
855 ts.Nsec = nsec % 1e9