Home
last modified time | relevance | path

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

/external/grpc-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()
/external/ltp/testcases/realtime/func/measurement/
Drdtsc-latency.c76 unsigned long long nsecs; in tv_minus() local
77 nsecs = (tv_end->tv_sec - tv_start->tv_sec) * 1000000000ULL; in tv_minus()
78 nsecs += (tv_end->tv_usec - tv_start->tv_usec) * 1000; in tv_minus()
79 return nsecs; in tv_minus()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhuman_readable_profile_builder.cc84 double nsecs = op.cycles / clock_rate_ghz_; in ToString() local
93 op.flop_count > 0 && nsecs > 0 in ToString()
94 ? HumanReadableNumFlops(op.flop_count, nsecs) in ToString()
96 op.transcendental_count > 0 && nsecs > 0 in ToString()
97 ? HumanReadableNumTranscendentalOps(op.transcendental_count, nsecs) in ToString()
/external/adeb/bcc/misc/
Dfutex-contention.py45 thread_blocktime[tid] = nsecs(s, ns)
50 elapsed = nsecs(s, ns) - thread_blocktime[tid]
Dandroid-futex-contention.py62 thread_blocktime[tid] = nsecs(s, ns)
72 elapsed = nsecs(s, ns) - thread_blocktime[tid]
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.last_write_time/
Dlast_write_time.pass.cpp63 auto nsecs = duration_cast<NanoSec>(ft.time_since_epoch() - secs); in ConvertToTimeSpec() local
64 if (nsecs.count() < 0) { in ConvertToTimeSpec()
67 nsecs -= Sec(1); in ConvertToTimeSpec()
69 nsecs = NanoSec(0); in ConvertToTimeSpec()
74 if (NSecLim::max() < nsecs.count() || NSecLim::min() > nsecs.count()) in ConvertToTimeSpec()
77 ts.tv_nsec = nsecs.count(); in ConvertToTimeSpec()
/external/bcc/tools/
Dfunclatency_example.txt9 nsecs : count distribution
55 nsecs : count distribution
90 nsecs : count distribution
114 nsecs : count distribution
/external/libcxx/src/filesystem/
Dfilesystem_common.h331 auto nsecs = duration_cast<fs_nanoseconds>(tm.time_since_epoch() - secs);
332 if (nsecs.count() < 0) {
334 nsecs = nsecs + fs_seconds(1);
/external/libcxx/docs/DesignDocs/
DFileTimeType.rst273 a ``timespec`` by passing ``{secs, nsecs}``. Instead we're limited to
345 fs_nsec nsecs(fs_seconds::max()); // Truncates
/external/curl/
DCHANGES476 usecs (ms * 1000), while the itimerspec struct wants nsecs (ms * 1000 *