Searched refs:nanoseconds (Results 1 - 15 of 15) sorted by relevance

/freebsd-10.2-release/contrib/ntp/lib/isc/unix/
H A Dtime.c43 * All of the INSIST()s checks of nanoseconds < NS_PER_S are for
88 unsigned int seconds, unsigned int nanoseconds)
91 REQUIRE(nanoseconds < NS_PER_S);
94 i->nanoseconds = nanoseconds;
100 INSIST(i->nanoseconds < NS_PER_S);
102 if (i->seconds == 0 && i->nanoseconds == 0)
117 isc_time_set(isc_time_t *t, unsigned int seconds, unsigned int nanoseconds) { argument
119 REQUIRE(nanoseconds < NS_PER_S);
122 t->nanoseconds
87 isc_interval_set(isc_interval_t *i, unsigned int seconds, unsigned int nanoseconds) argument
[all...]
H A Dsocket.c1275 dev->timestamp.nanoseconds = timevalp->tv_usec * 1000;
/freebsd-10.2-release/contrib/ntp/lib/isc/unix/include/isc/
H A Dtime.h41 unsigned int nanoseconds; member in struct:isc_interval
50 unsigned int seconds, unsigned int nanoseconds);
53 * 'nanoseconds' nanoseconds, suitable for use in isc_time_add() and
59 *\li nanoseconds < 1000000000.
85 unsigned int nanoseconds; member in struct:isc_time
91 isc_time_set(isc_time_t *t, unsigned int seconds, unsigned int nanoseconds);
94 * nanoseconds since 00:00:00 January 1, 1970, UTC.
100 * isc_interval_set(i, seconds, nanoseconds);
106 *\li nanoseconds < 100000000
[all...]
/freebsd-10.2-release/contrib/libc++/src/
H A Dcondition_variable.cpp51 chrono::time_point<chrono::system_clock, chrono::nanoseconds> tp) _NOEXCEPT
57 nanoseconds d = tp.time_since_epoch();
58 if (d > nanoseconds(0x59682F000000E941))
59 d = nanoseconds(0x59682F000000E941);
H A Dthread.cpp108 sleep_for(const chrono::nanoseconds& ns)
111 if (ns > nanoseconds::zero())
H A Dchrono.cpp56 // nanoseconds since the computer booted up. MachInfo.numer and MachInfo.denom
125 return time_point(seconds(tp.tv_sec) + nanoseconds(tp.tv_nsec));
/freebsd-10.2-release/sys/sys/
H A Dlock_profile.h43 u_int64_t nanoseconds(void);
60 *waittime = nanoseconds();
/freebsd-10.2-release/contrib/ntp/lib/isc/win32/include/isc/
H A Dtime.h48 unsigned int seconds, unsigned int nanoseconds);
51 * 'nanoseconds' nanoseconds, suitable for use in isc_time_add() and
57 * nanoseconds < 1000000000.
88 isc_time_set(isc_time_t *t, unsigned int seconds, unsigned int nanoseconds);
91 * nanoseconds since 00:00:00 January 1, 1970, UTC.
95 *\li nanoseconds < 1000000000.
230 * Return the number of nanoseconds stored in a time structure.
233 * This is the number of nanoseconds in excess of the number
/freebsd-10.2-release/contrib/llvm/tools/lldb/source/Host/common/
H A DTimeValue.cpp126 uint32_t seconds, nanoseconds; local
130 nanoseconds = st.wMilliseconds * 1000000;
139 nanoseconds = tv.tv_usec * NanoSecPerMicroSec;
141 TimeValue now(seconds, nanoseconds);
/freebsd-10.2-release/contrib/ntp/lib/isc/win32/
H A Dtime.c36 * struct FILETIME uses "100-nanoseconds intervals".
62 unsigned int nanoseconds)
65 REQUIRE(nanoseconds < NS_PER_S);
68 * This rounds nanoseconds up not down.
71 + (nanoseconds + NS_INTERVAL - 1) / NS_INTERVAL;
84 isc_time_set(isc_time_t *t, unsigned int seconds, unsigned int nanoseconds) { argument
90 REQUIRE(nanoseconds < NS_PER_S);
97 i1.QuadPart += (unsigned __int64)nanoseconds/100;
61 isc_interval_set(isc_interval_t *i, unsigned int seconds, unsigned int nanoseconds) argument
/freebsd-10.2-release/contrib/llvm/tools/lldb/include/lldb/Host/
H A DTimeValue.h87 /// Returns only the seconds component of the TimeValue. The nanoseconds
92 /// Returns only the nanoseconds component of the TimeValue. The seconds
94 /// @brief Retrieve the nanoseconds component.
95 uint32_t nanoseconds() const { return m_nano_seconds % NanoSecPerSec; } function in class:lldb_private::TimeValue
/freebsd-10.2-release/contrib/llvm/include/llvm/Support/
H A DTimeValue.h69 typedef int32_t NanoSecondsType;///< Type used for representing nanoseconds.
88 /// Caller provides the exact value in seconds and nanoseconds. The
95 /// fractional part representing nanoseconds.
195 /// Returns only the seconds component of the TimeValue. The nanoseconds
200 /// Returns only the nanoseconds component of the TimeValue. The seconds
202 /// @brief Retrieve the nanoseconds component.
203 NanoSecondsType nanoseconds() const { return nanos_; } function in class:llvm::sys::TimeValue
241 /// @brief Convert to unix time (100 nanoseconds since 12:00:00a Jan 1,1970)
264 /// Provides the seconds and nanoseconds as results in its arguments after
282 /// modifying the nanoseconds par
296 void nanoseconds ( NanoSecondsType nanos ) { function in class:llvm::sys::TimeValue
[all...]
/freebsd-10.2-release/sys/kern/
H A Dsubr_lock.c199 nanoseconds(void) function
535 l->lpo_acqtime = nanoseconds();
605 curtime = nanoseconds();
/freebsd-10.2-release/contrib/ntp/lib/isc/
H A Dtimer.c58 (d).seconds, (d).nanoseconds)
60 (d).seconds, (d).nanoseconds, (n).seconds, (n).nanoseconds)
62 (d).seconds, (d).nanoseconds)
/freebsd-10.2-release/contrib/llvm/tools/lldb/source/Core/
H A DLog.cpp106 header.Printf ("%9d.%6.6d ", now.seconds(), now.nanoseconds());

Completed in 207 milliseconds