Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/platform/
Denv_time.h29 static constexpr uint64 kMicrosToNanos = 1000ULL; variable
49 virtual uint64 NowMicros() { return NowNanos() / kMicrosToNanos; } in NowMicros()
/external/tensorflow/tensorflow/core/profiler/internal/cpu/
Dhost_tracer.cc104 ns->set_all_start_micros(event.start_time / EnvTime::kMicrosToNanos); in CollectDataToCollector()
106 EnvTime::kMicrosToNanos); in CollectDataToCollector()
/external/tensorflow/tensorflow/core/common_runtime/
Dstep_stats_collector.cc105 stats_->set_all_start_micros(now_nanos / EnvTime::kMicrosToNanos); in RecordExecutorStarted()
113 stats_->set_op_start_rel_micros(now_nanos / EnvTime::kMicrosToNanos - in RecordComputeStarted()
122 stats_->set_op_end_rel_micros(now_nanos / EnvTime::kMicrosToNanos - in RecordComputeEnded()
131 stats_->set_all_end_rel_micros(now_nanos / EnvTime::kMicrosToNanos - in RecordExecutorEnded()
137 stats_->set_scheduled_micros(nanos / EnvTime::kMicrosToNanos); in SetScheduled()
Dexecutor.cc85 stats->SetScheduled(micros * EnvTime::kMicrosToNanos); in SetScheduled()
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dexecute.cc153 EnvTime::kMicrosToNanos); in MaybeCopyInputToExpectedDevice()
157 EnvTime::kMicrosToNanos); in MaybeCopyInputToExpectedDevice()
160 EnvTime::kMicrosToNanos); in MaybeCopyInputToExpectedDevice()
490 maybe_stats->set_all_start_micros(now_nanos / EnvTime::kMicrosToNanos); in EagerLocalExecute()
494 maybe_stats->set_scheduled_micros(now_nanos / EnvTime::kMicrosToNanos); in EagerLocalExecute()
978 maybe_stats->set_op_end_rel_micros(nanos / EnvTime::kMicrosToNanos - in EagerKernelExecute()
981 maybe_stats->set_all_end_rel_micros(nanos / EnvTime::kMicrosToNanos - in EagerKernelExecute()
/external/tensorflow/tensorflow/core/platform/cloud/
Dgcs_throttle_test.cc27 uint64 NowNanos() override { return now_micros_ * kMicrosToNanos; } in NowNanos()
/external/tensorflow/tensorflow/core/profiler/lib/
Dprofiler_session.cc157 start_time_micros_(Env::Default()->NowNanos() / EnvTime::kMicrosToNanos) { in ProfilerSession()