Searched refs:now_micros (Results 1 – 7 of 7) sorted by relevance
48 int64 now_micros = EnvTime::NowMicros(); in Retry() local49 if (now_micros > deadline_micros) { in Retry()53 now_micros + ::tensorflow::ComputeBackoffMicroseconds(num_retries); in Retry()59 int64 wait_time_micros = backoff_until - now_micros; in Retry()
322 uint64 now_micros = EnvTime::NowMicros(); in GenerateLogMessage()323 time_t now_seconds = static_cast<time_t>(now_micros / 1000000); in GenerateLogMessage()324 int32 micros_remainder = static_cast<int32>(now_micros % 1000000); in GenerateLogMessage()532 uint64 now_micros = EnvTime::NowMicros(); in Send()533 time_t now_seconds = static_cast<time_t>(now_micros / 1000000); in Send()534 int32 micros_remainder = static_cast<int32>(now_micros % 1000000); in Send()
73 int64 now_micros = Env::Default()->NowMicros(); in InjectLoad() local74 while (now_micros < next_injection_time_micros) { in InjectLoad()76 if (next_injection_time_micros - now_micros >= kSleepThresholdMicros) { in InjectLoad()79 now_micros = Env::Default()->NowMicros(); in InjectLoad()
476 int64 now_micros = GetEnv()->NowMicros(); in MaybeScheduleNextBatch() local478 if ((*it)->schedulable_time_micros() > now_micros) continue; in MaybeScheduleNextBatch()
32 void SetTime(uint64 now_micros) { now_micros_ = now_micros; } in SetTime() argument
748 int64 now_micros = Env::Default()->NowMicros(); in GetElementTraced() local749 if (now_micros > deadline_micros) { in GetElementTraced()754 now_micros + ::tensorflow::ComputeBackoffMicroseconds(num_retries)); in GetElementTraced()757 << ". Will retry in " << (backoff_until - now_micros) in GetElementTraced()759 Env::Default()->SleepForMicroseconds(backoff_until - now_micros); in GetElementTraced()
499 const int64 now_micros = Env::Default()->NowMicros(); in PublishGraph() local501 event.set_wall_time(static_cast<double>(now_micros)); in PublishGraph()513 DebugIO::kHashTag, graph_hash, "_", now_micros); in PublishGraph()519 status.Update(PublishEncodedGraphDefInChunks(buf, device_name, now_micros, in PublishGraph()