Home
last modified time | relevance | path

Searched refs:now_ms (Results 1 - 6 of 6) sorted by relevance

/foundation/distributeddatamgr/preferences/frameworks/native/platform/src/
H A Dpreferences_dfx_adapter.cpp38 auto now_ms = std::chrono::time_point_cast<std::chrono::microseconds>(now); in GetCurrentTime() local
39 auto epoch = now_ms.time_since_epoch(); in GetCurrentTime()
/third_party/mesa3d/src/c11/impl/
H A Dthreads_win32.c108 const time_t now_ms = impl_timespec2msec(&now); in impl_abs2relmsec() local
109 const DWORD rel_ms = (abs_ms > now_ms) ? (DWORD)(abs_ms - now_ms) : 0; in impl_abs2relmsec()
/third_party/skia/bench/
H A Dnanobench.cpp194 static double now_ms() { return SkTime::GetNSecs() * 1e-6; } in now_ms() function
290 double start = now_ms(); in time()
294 double elapsed = now_ms() - start; in time()
302 double start = now_ms(); in estimate_timer_overhead()
303 overhead += now_ms() - start; in estimate_timer_overhead()
1322 auto stop = now_ms() + 1000;
1326 } while (now_ms() < stop);
1331 auto stop = now_ms() + FLAGS_ms;
1335 } while (now_ms() < stop);
/foundation/multimedia/media_library/frameworks/services/media_dfx/src/
H A Ddfx_utils.cpp125 auto now_ms = std::chrono::time_point_cast<std::chrono::milliseconds>(now); in GetCurrentDateMillisecond() local
126 std::chrono::duration<int, std::milli> ms_part = now_ms.time_since_epoch() % std::chrono::seconds(ONE_SECOND); in GetCurrentDateMillisecond()
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/
H A Dkv_hiview_reporter.cpp106 auto now_ms = std::chrono::time_point_cast<std::chrono::microseconds>(now); in GetCurrentMicrosecondTimeFormat() local
107 auto epoch = now_ms.time_since_epoch(); in GetCurrentMicrosecondTimeFormat()
/third_party/skia/third_party/externals/abseil-cpp/absl/time/
H A Dtime_test.cc408 int64_t now_ms = absl::GetCurrentTimeNanos() / 1000000; in TEST() local
415 TEST_CONVERSION_ROUND_TRIP(now_ms, absl::FromUnixMillis, absl::ToUnixMillis, in TEST()
417 << now_ms; in TEST()

Completed in 7 milliseconds