Home
last modified time | relevance | path

Searched refs:nsecs (Results 1 – 15 of 15) 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/v4l2_codec2/plugin_store/
DC2VdaPooledBlockPool.cpp27 int64_t nsecs = static_cast<int64_t>(t.tv_sec) * 1000000000LL + t.tv_nsec; in GetNowUs() local
28 return nsecs / 1000ll; in GetNowUs()
/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/v4l2_codec2/tests/c2_e2e_test/jni/
Dcommon.cpp175 int64_t nsecs = static_cast<int64_t>(t.tv_sec) * 1000000000LL + t.tv_nsec; in GetNowUs() local
176 return nsecs / 1000ll; in GetNowUs()
/external/igt-gpu-tools/lib/
Digt_aux.c1572 double nsecs; in elapsed() local
1574 nsecs = now->tv_nsec - last ->tv_nsec; in elapsed()
1575 nsecs += 1e9*(now->tv_sec - last->tv_sec); in elapsed()
1577 return nsecs; in elapsed()
/external/u-boot/arch/arm/dts/
Dstm32mp157a-dk1-u-boot.dtsi51 st,min-sample-time-nsecs = <5000>;
/external/u-boot/doc/device-tree-bindings/adc/
Dst,stm32-adc.txt90 - st,min-sample-time-nsecs: Minimum sampling time in nanoseconds.
/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/
DCHANGES6161 usecs (ms * 1000), while the itimerspec struct wants nsecs (ms * 1000 *