Searched refs:now_ms (Results 1 – 6 of 6) sorted by relevance
78 int64_t now_ms = (int64_t)now.tv_sec * 1000 + now.tv_nsec / 1000000; in gpr_cv_wait() local81 if (now_ms >= deadline_ms) { in gpr_cv_wait()84 if ((deadline_ms - now_ms) >= INFINITE) { in gpr_cv_wait()87 timeout_max_ms = (DWORD)(deadline_ms - now_ms); in gpr_cv_wait()
175 static double now_ms() { return SkTime::GetNSecs() * 1e-6; } in now_ms() function282 double start = now_ms(); in time()289 double elapsed = now_ms() - start; in time()297 double start = now_ms(); in estimate_timer_overhead()298 overhead += now_ms() - start; in estimate_timer_overhead()1283 auto stop = now_ms() + 1000; in main()1286 } while (now_ms() < stop); in main()1291 auto stop = now_ms() + FLAGS_ms; in main()1294 } while (now_ms() < stop); in main()
140 const time_t now_ms = impl_timespec2msec(&now); in impl_abs2relmsec() local141 const DWORD rel_ms = (abs_ms > now_ms) ? (DWORD)(abs_ms - now_ms) : 0; in impl_abs2relmsec()
194 static double now_ms() { return SkTime::GetNSecs() * 1e-6; } in now_ms() function290 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; in main()1326 } while (now_ms() < stop); in main()1331 auto stop = now_ms() + FLAGS_ms; in main()1335 } while (now_ms() < stop); in main()
408 int64_t now_ms = absl::GetCurrentTimeNanos() / 1000000; in TEST() local415 TEST_CONVERSION_ROUND_TRIP(now_ms, absl::FromUnixMillis, absl::ToUnixMillis, in TEST()417 << now_ms; in TEST()