Home
last modified time | relevance | path

Searched refs:kMicrosToNanos (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/core/platform/
Denv_time.h29 static constexpr uint64 kMicrosToNanos = 1000ULL; variable
44 static uint64 NowMicros() { return NowNanos() / kMicrosToNanos; } in NowMicros()
54 return GetOverridableNowNanos() / kMicrosToNanos; in GetOverridableNowMicros()
/external/tensorflow/tensorflow/core/common_runtime/
Dstep_stats_collector.cc113 stats_->set_all_start_micros(now_nanos / EnvTime::kMicrosToNanos); in RecordExecutorStarted()
121 stats_->set_op_start_rel_micros(now_nanos / EnvTime::kMicrosToNanos - in RecordComputeStarted()
130 stats_->set_op_end_rel_micros(now_nanos / EnvTime::kMicrosToNanos - in RecordComputeEnded()
139 stats_->set_all_end_rel_micros(now_nanos / EnvTime::kMicrosToNanos - in RecordExecutorEnded()
145 stats_->set_scheduled_micros(nanos / EnvTime::kMicrosToNanos); in SetScheduled()
Dexecutor.cc88 stats->SetScheduled(micros * EnvTime::kMicrosToNanos); in SetScheduled()
/external/tensorflow/tensorflow/core/platform/cloud/
Dgcs_throttle_test.cc29 return now_micros_ * kMicrosToNanos; in GetOverridableNowNanos()
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dsleep_dataset_op.cc136 dataset()->sleep_microseconds_ * EnvTime::kMicrosToNanos); in GetNextInternal()