Home
last modified time | relevance | path

Searched refs:nsecs (Results 1 – 8 of 8) sorted by relevance

/third_party/boost/tools/build/src/engine/
Dtimestamp.cpp94 time->secs = time->nsecs = 0; in timestamp_clear()
102 ? lhs->nsecs - rhs->nsecs in timestamp_cmp()
110 target->nsecs = source->nsecs; in timestamp_copy()
141 return !time->secs && !time->nsecs; in timestamp_empty()
160 void timestamp_init( timestamp * const time, time_t const secs, int const nsecs in timestamp_init() argument
164 time->nsecs = nsecs; in timestamp_init()
185 sprintf( result2, result1, time->nsecs ); in timestamp_formatstr()
230 return difftime(b->secs, a->secs) + (b->nsecs - a->nsecs) * 1.0E-9; in timestamp_delta_seconds()
Dtimestamp.h26 int nsecs; member
35 void timestamp_init( timestamp * const, time_t const secs, int const nsecs );
Dhcache.cpp402 sprintf( time_nsecs_str, "%lu", (long unsigned)c->time.nsecs ); in hcache_done()
/third_party/node/deps/npm/node_modules/uuid/
Dv1.js51 var nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1;
54 var dt = (msecs - _lastMSecs) + (nsecs - _lastNSecs)/10000;
63 if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) {
64 nsecs = 0;
68 if (nsecs >= 10000) {
73 _lastNSecs = nsecs;
80 var tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;
/third_party/grpc/src/cpp/util/
Dtime_cc.cc41 nanoseconds nsecs = duration_cast<nanoseconds>(deadline - secs); in Timepoint2Timespec() local
43 to->tv_nsec = static_cast<int32_t>(nsecs.count()); in Timepoint2Timespec()
57 nanoseconds nsecs = duration_cast<nanoseconds>(deadline - secs); in TimepointHR2Timespec() local
59 to->tv_nsec = static_cast<int32_t>(nsecs.count()); in TimepointHR2Timespec()
/third_party/ltp/testcases/realtime/func/measurement/
Drdtsc-latency.c77 unsigned long long nsecs; in tv_minus() local
78 nsecs = (tv_end->tv_sec - tv_start->tv_sec) * 1000000000ULL; in tv_minus()
79 nsecs += (tv_end->tv_usec - tv_start->tv_usec) * 1000; in tv_minus()
80 return nsecs; in tv_minus()
/third_party/boost/libs/thread/test/
Dutil.inl27 inline boost::xtime delay(int secs, int msecs=0, int nsecs=0) argument
37 nsecs += xt.nsec;
38 msecs += nsecs / NANOSECONDS_PER_MILLISECOND;
40 nsecs += (msecs % MILLISECONDS_PER_SECOND) * NANOSECONDS_PER_MILLISECOND;
41 xt.nsec = nsecs % NANOSECONDS_PER_SECOND;
42 xt.sec += secs + (nsecs / NANOSECONDS_PER_SECOND);
/third_party/boost/libs/interprocess/test/
Dutil.hpp41 inline boost::posix_time::ptime delay(int secs, int msecs=0, int nsecs = 0) in delay() argument
45 int count = static_cast<int>(double(nsecs)* in delay()