Home
last modified time | relevance | path

Searched refs:time_point (Results 1 – 25 of 48) sorted by relevance

12

/system/netd/libnetdutils/include/netdutils/
DStopwatch.h28 using time_point = std::chrono::time_point<clock>; variable
53 time_point mStart;
55 float getElapsed(const time_point& now) const { in getElapsed()
59 int64_t getElapsedUs(const time_point& now) const { in getElapsedUs()
/system/core/base/include/android-base/
Dchrono_utils.h33 typedef std::chrono::time_point<boot_clock, duration> time_point; typedef
35 static time_point now();
47 boot_clock::time_point start_;
/system/netd/server/
DTcpSocketMonitor.h42 using time_point = std::chrono::time_point<std::chrono::steady_clock>;
70 time_point lastUpdate;
89 void updateSocketStats(time_point now, Fwmark mark, const struct inet_diag_msg *sockinfo,
102 time_point mLastPoll GUARDED_BY(mLock);
DProcess.cpp57 const std::chrono::steady_clock::time_point sStartTime = std::chrono::steady_clock::now();
/system/libfmq/benchmarks/
Dmsgq_benchmark_client.cpp127 std::chrono::time_point<std::chrono::high_resolution_clock> timeStart = in TEST_F()
138 std::chrono::time_point<std::chrono::high_resolution_clock> timeEnd = in TEST_F()
161 std::chrono::time_point<std::chrono::high_resolution_clock> timeStart = in TEST_F()
171 std::chrono::time_point<std::chrono::high_resolution_clock> timeEnd = in TEST_F()
195 std::chrono::time_point<std::chrono::high_resolution_clock> timeStart = in TEST_F()
205 std::chrono::time_point<std::chrono::high_resolution_clock> timeEnd = in TEST_F()
228 std::chrono::time_point<std::chrono::high_resolution_clock> timeStart = in TEST_F()
238 std::chrono::time_point<std::chrono::high_resolution_clock> timeEnd = in TEST_F()
260 std::chrono::time_point<std::chrono::high_resolution_clock> timeStart = in TEST_F()
269 std::chrono::time_point<std::chrono::high_resolution_clock> timeEnd = in TEST_F()
[all …]
/system/core/base/
Dchrono_utils.cpp24 boot_clock::time_point boot_clock::now() { in now()
28 return boot_clock::time_point(std::chrono::seconds(ts.tv_sec) + in now()
32 return boot_clock::time_point(); in now()
Dchrono_utils_test.cpp35 auto now_tp = boot_clock::time_point(std::chrono::seconds(now.tv_sec) + in GetBootTimeSeconds()
/system/bt/common/test/
Dthread_performance_test.cc121 std::chrono::steady_clock::time_point start_time = in TEST_F()
131 std::chrono::steady_clock::time_point end_time = in TEST_F()
166 std::chrono::steady_clock::time_point start_time = in TEST_F()
176 std::chrono::steady_clock::time_point end_time = in TEST_F()
212 std::chrono::steady_clock::time_point start_time = in TEST_F()
222 std::chrono::steady_clock::time_point end_time = in TEST_F()
255 std::chrono::steady_clock::time_point start_time = in TEST_F()
263 std::chrono::steady_clock::time_point end_time = in TEST_F()
302 std::chrono::steady_clock::time_point start_time = in TEST_F()
312 std::chrono::steady_clock::time_point end_time = in TEST_F()
[all …]
/system/bt/vendor_libs/test_vendor_lib/model/devices/
Ddevice.cc51 std::chrono::steady_clock::time_point now = std::chrono::steady_clock::now(); in IsAdvertisementAvailable()
53 std::chrono::steady_clock::time_point last_interval = in IsAdvertisementAvailable()
56 std::chrono::steady_clock::time_point next_interval = last_interval + advertising_interval_ms_; in IsAdvertisementAvailable()
Ddevice.h83 std::chrono::steady_clock::time_point time_stamp_;
/system/connectivity/wificond/tests/integration/
Dbinder_dispatcher.cpp26 int convertDurationToMillis(const steady_clock::time_point& start, in convertDurationToMillis()
27 const steady_clock::time_point& end) { in convertDurationToMillis()
63 steady_clock::time_point start_time = steady_clock::now(); in DispatchFor()
/system/netd/resolv/
DDnsTlsDispatcher.h82 std::chrono::time_point<std::chrono::steady_clock> lastUsed GUARDED_BY(sLock);
92 std::chrono::time_point<std::chrono::steady_clock> mLastCleanup GUARDED_BY(sLock);
96 void cleanup(std::chrono::time_point<std::chrono::steady_clock> now) REQUIRES(sLock);
/system/security/keystore/
Dconfirmationui_rate_limiting.h32 using std::chrono::time_point;
39 typename Clock::time_point previous_start;
40 typename Clock::time_point prompt_start;
Doperation_proto_handler.h38 std::chrono::steady_clock::time_point start_time = std::chrono::steady_clock::now();
/system/security/keystore/tests/
Dconfirmationui_rate_limiting_test.cpp64 static time_point sNow;
67 static void setNow(time_point newNow) { sNow = newNow; } in setNow()
68 static time_point now() noexcept { return sNow; } in now()
71 FakeClock::time_point FakeClock::sNow;
/system/core/storaged/include/
Dstoraged_info.h52 time_point<system_clock> day_start_tp;
80 const time_point<system_clock>& tp);
/system/extras/libperfmgr/include/perfmgr/
DRequestGroup.h28 using ReqTime = std::chrono::time_point<std::chrono::steady_clock>;
/system/core/adb/
Dfdevent.h48 std::chrono::steady_clock::time_point last_active;
/system/core/fastboot/fuzzy_fastboot/
Dusb_transport_sniffer.h66 std::chrono::high_resolution_clock::time_point start;
/system/extras/zram-perf/
Dzram-perf.cpp84 chrono::time_point<chrono::high_resolution_clock> start, end; in benchSequentialRead()
105 chrono::time_point<chrono::high_resolution_clock> start, end; in benchSequentialWrite()
/system/bt/vendor_libs/test_vendor_lib/model/setup/
Dasync_manager.cc322 …Task(std::chrono::steady_clock::time_point time, std::chrono::milliseconds period, const TaskCallb… in Task()
324 Task(std::chrono::steady_clock::time_point time, const TaskCallback& callback) in Task()
338 std::chrono::steady_clock::time_point time;
/system/libhwbinder/vts/performance/
DPerfTest.h137 typedef std::chrono::time_point<std::chrono::high_resolution_clock> Tick;
/system/core/init/
Dservice.h108 android::base::boot_clock::time_point time_started() const { return time_started_; } in time_started()
191 android::base::boot_clock::time_point time_started_; // time of last start
192 android::base::boot_clock::time_point time_crashed_; // first crash within inspection window
/system/bt/gd/os/
Dalarm_benchmark.cc76 std::chrono::time_point<std::chrono::steady_clock> start_time_;
/system/core/libprocessgroup/
Dprocessgroup.cpp345 std::chrono::steady_clock::time_point start = std::chrono::steady_clock::now(); in KillProcessGroup()
365 std::chrono::steady_clock::time_point end = std::chrono::steady_clock::now(); in KillProcessGroup()

12