Home
last modified time | relevance | path

Searched refs:now_micros (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/core/data/service/
Dgrpc_util.cc48 int64 now_micros = EnvTime::NowMicros(); in Retry() local
49 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()
/external/tensorflow/tensorflow/core/platform/default/
Dlogging.cc322 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()
/external/tensorflow/tensorflow/core/kernels/batching_util/
Dbasic_batch_scheduler_benchmark_test.cc73 int64 now_micros = Env::Default()->NowMicros(); in InjectLoad() local
74 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()
Dadaptive_shared_batch_scheduler.h476 int64 now_micros = GetEnv()->NowMicros(); in MaybeScheduleNextBatch() local
478 if ((*it)->schedulable_time_micros() > now_micros) continue; in MaybeScheduleNextBatch()
/external/tensorflow/tensorflow/core/platform/cloud/
Dgcs_throttle_test.cc32 void SetTime(uint64 now_micros) { now_micros_ = now_micros; } in SetTime() argument
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Ddata_service_dataset_op.cc748 int64 now_micros = Env::Default()->NowMicros(); in GetElementTraced() local
749 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()
/external/tensorflow/tensorflow/core/debug/
Ddebug_io_utils.cc499 const int64 now_micros = Env::Default()->NowMicros(); in PublishGraph() local
501 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()