Home
last modified time | relevance | path

Searched refs:nanoseconds (Results 1 – 12 of 12) sorted by relevance

/system/chre/util/include/chre/util/
Dtime_impl.h28 constexpr Milliseconds::Milliseconds(Nanoseconds nanoseconds) in Milliseconds() argument
30 nanoseconds.toRawNanoseconds() / kOneMillisecondInNanoseconds) {} in Milliseconds()
47 constexpr Microseconds::Microseconds(Nanoseconds nanoseconds) in Microseconds() argument
49 nanoseconds.toRawNanoseconds() / kOneMicrosecondInNanoseconds) {} in Microseconds()
66 constexpr Nanoseconds::Nanoseconds(uint64_t nanoseconds) in Nanoseconds() argument
67 : mNanoseconds(nanoseconds) {} in Nanoseconds()
Dtime.h62 constexpr Milliseconds(Nanoseconds nanoseconds);
97 constexpr Microseconds(Nanoseconds nanoseconds);
132 constexpr explicit Nanoseconds(uint64_t nanoseconds);
183 const Nanoseconds& nanoseconds);
/system/extras/memcpy-perf/
Dmemcpy-perf.cpp133 ::nanoseconds(size_per_test / delay)); in main()
155 ::nanoseconds(size_per_test / delay)); in main()
168 ::nanoseconds(size_per_test / delay)); in main()
177 …double ns_per_copy = chrono::duration_cast<chrono::nanoseconds>(copy_end - copy_start).count() / d… in main()
/system/core/init/
Dutil.h43 typedef std::chrono::nanoseconds duration;
74 int wait_for_file(const char *filename, std::chrono::nanoseconds timeout);
Dutil.cpp206 std::chrono::nanoseconds(ts.tv_nsec)); in now()
264 int wait_for_file(const char* filename, std::chrono::nanoseconds timeout) { in wait_for_file()
Dbuiltins.cpp76 static constexpr std::chrono::nanoseconds kCommandRetryTimeout = 5s;
/system/core/base/
Dproperties.cpp104 static void DurationToTimeSpec(timespec& ts, std::chrono::nanoseconds d) { in DurationToTimeSpec()
106 auto ns = std::chrono::duration_cast<std::chrono::nanoseconds>(d - s); in DurationToTimeSpec()
116 auto remaining_timeout = std::chrono::duration_cast<std::chrono::nanoseconds>(timeout - now); in UpdateTimeSpec()
/system/libfmq/include/fmq/
DEventFlag.h146 inline void addNanosecondsToCurrentTime(int64_t nanoseconds, struct timespec* timeAbs);
/system/core/libcutils/tests/
Dsched_policy_test.cpp50 std::this_thread::sleep_for(std::chrono::nanoseconds(1)); in medianSleepTime()
/system/libhwbinder/vts/performance/
DBenchmark_throughput.cpp244 chrono::duration_cast<chrono::nanoseconds>(end - start).count()); in worker_fx()
376 / (chrono::duration_cast < chrono::nanoseconds in main()
DLatency.cpp171 chrono::duration_cast<chrono::nanoseconds>(end - sta).count()); in tickNano()
/system/libfmq/benchmarks/
Dmsgq_benchmark_client.cpp135 accumulatedTime += static_cast<int64_t>(std::chrono::duration_cast<std::chrono::nanoseconds>( in TEST_F()