Home
last modified time | relevance | path

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

12

/system/chre/util/include/chre/util/
Dtime_impl.h49 constexpr Milliseconds::Milliseconds(Nanoseconds nanoseconds) in Milliseconds() argument
51 nanoseconds.toRawNanoseconds() / kOneMillisecondInNanoseconds) {} in Milliseconds()
80 constexpr Microseconds::Microseconds(Nanoseconds nanoseconds) in Microseconds() argument
82 nanoseconds.toRawNanoseconds() / kOneMicrosecondInNanoseconds) {} in Microseconds()
103 constexpr Nanoseconds::Nanoseconds(uint64_t nanoseconds) in Nanoseconds() argument
104 : mNanoseconds(nanoseconds) {} in Nanoseconds()
Dtime.h92 constexpr Milliseconds(Nanoseconds nanoseconds);
141 constexpr Microseconds(Nanoseconds nanoseconds);
184 constexpr explicit Nanoseconds(uint64_t nanoseconds);
/system/netd/libnetdutils/
DBackoffSequenceTest.cpp171 auto backoff = BackoffSequence<std::chrono::nanoseconds>::Builder() in TEST()
172 .withInitialRetransmissionTime(std::chrono::nanoseconds(7)) in TEST()
173 .withMaximumRetransmissionTime(std::chrono::nanoseconds(3)) in TEST()
174 .withMaximumRetransmissionDuration(std::chrono::nanoseconds(5)) in TEST()
177 EXPECT_EQ(std::chrono::nanoseconds(3), backoff.getNextTimeout()); in TEST()
178 EXPECT_EQ(std::chrono::nanoseconds(2), backoff.getNextTimeout()); in TEST()
/system/testing/gtest_extras/
DNanoTime.cpp27 std::chrono::nanoseconds duration(std::chrono::steady_clock::now().time_since_epoch()); in NanoTime()
/system/core/base/
Dchrono_utils.cpp29 std::chrono::nanoseconds(ts.tv_nsec)); in now()
Dchrono_utils_test.cpp36 std::chrono::nanoseconds(now.tv_nsec)); in GetBootTimeSeconds()
Dproperties.cpp127 auto ns = std::chrono::duration_cast<std::chrono::nanoseconds>(d - s); in DurationToTimeSpec()
/system/chre/platform/linux/include/chre/target_platform/
Dcondition_variable_impl.h38 mutex, std::chrono::nanoseconds(timeout.toRawNanoseconds())); in wait_for()
/system/core/base/include/android-base/
Dchrono_utils.h32 typedef std::chrono::nanoseconds duration;
/system/libfmq/include/fmq/
DEventFlag.h146 inline void addNanosecondsToCurrentTime(int64_t nanoseconds, struct timespec* timeAbs);
/system/core/init/
Dutil.h50 int wait_for_file(const char *filename, std::chrono::nanoseconds timeout);
Dutil.cpp227 int wait_for_file(const char* filename, std::chrono::nanoseconds timeout) { in wait_for_file()
/system/core/libcutils/
Dsched_policy_test.cpp50 std::this_thread::sleep_for(std::chrono::nanoseconds(1)); in medianSleepTime()
/system/libhwbinder/vts/performance/
DPerfTest.h153 return uint64_t(std::chrono::duration_cast<std::chrono::nanoseconds>(end - sta).count()); in tickDiffNS()
DBenchmark_throughput.cpp244 chrono::duration_cast<chrono::nanoseconds>(end - start).count()); in worker_fx()
376 / (chrono::duration_cast < chrono::nanoseconds in main()
/system/core/libmetricslogger/
Dmetrics_logger.cpp40 return std::chrono::duration_cast<std::chrono::nanoseconds>( in getElapsedTimeNanoSinceBoot()
/system/bt/gd/os/
Dalarm_benchmark.cc89 …auto duration = std::chrono::duration_cast<std::chrono::nanoseconds>(end_time_point - start_time_p… in BENCHMARK_DEFINE_F()
/system/apex/apexd/
Dapexd_utils.h189 std::chrono::nanoseconds timeout) { in WaitForFile()
/system/vold/
DUtils.h145 status_t WaitForFile(const char* filename, std::chrono::nanoseconds timeout);
DUtils.cpp928 status_t WaitForFile(const char* filename, std::chrono::nanoseconds timeout) { in WaitForFile()
/system/core/storaged/
Dstoraged.cpp272 benchmark_time_ns += duration_cast<nanoseconds>(end - start).count(); in flush_proto_data()
/system/core/llkd/
Dlibllkd.cpp281 nanoseconds schedUpdate; // /proc/<tid>/sched "se.avg.lastUpdateTime",
426 duration_cast<milliseconds>(nanoseconds(to->tv_nsec - from->tv_nsec)); in llkGetTimespecDiffMs()
876 auto schedUpdate = nanoseconds(val); in llkCheckSchedUpdate()
/system/core/bootstat/
Dbootstat.cpp1116 std::chrono::nanoseconds GetBootTimeOffset() { in GetBootTimeOffset()
1119 return std::chrono::nanoseconds(boottime_offset); in GetBootTimeOffset()
/system/libfmq/benchmarks/
Dmsgq_benchmark_client.cpp140 accumulatedTime += static_cast<int64_t>(std::chrono::duration_cast<std::chrono::nanoseconds>( in TEST_F()
/system/chre/platform/shared/idl/
Dhost_messages.fbs180 /// uint64_t, little-endian - timestamp in nanoseconds

12