Searched refs:kMicrosToNanos (Results 1 – 7 of 7) sorted by relevance
29 static constexpr uint64 kMicrosToNanos = 1000ULL; variable49 virtual uint64 NowMicros() { return NowNanos() / kMicrosToNanos; } in NowMicros()
104 ns->set_all_start_micros(event.start_time / EnvTime::kMicrosToNanos); in CollectDataToCollector()106 EnvTime::kMicrosToNanos); in CollectDataToCollector()
105 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()
85 stats->SetScheduled(micros * EnvTime::kMicrosToNanos); in SetScheduled()
153 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()
27 uint64 NowNanos() override { return now_micros_ * kMicrosToNanos; } in NowNanos()
157 start_time_micros_(Env::Default()->NowNanos() / EnvTime::kMicrosToNanos) { in ProfilerSession()