Lines Matching full:nsec
848 Nsec int64851 func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }853 func NsecToTimespec(nsec int64) (ts Timespec) {854 ts.Sec = nsec / 1e9855 ts.Nsec = nsec % 1e9