Home
last modified time | relevance | path

Searched refs:EnvTime (Results 1 – 18 of 18) sorted by relevance

/external/tensorflow/tensorflow/core/platform/posix/
Denv_time.cc25 class PosixEnvTime : public EnvTime {
40 EnvTime* EnvTime::Default() { in Default()
41 static EnvTime* default_env_time = new PosixEnvTime; in Default()
/external/tensorflow/tensorflow/core/platform/
Denv_time.h26 class EnvTime {
36 EnvTime();
37 virtual ~EnvTime() = default;
43 static EnvTime* Default();
Denv_time.cc20 EnvTime::EnvTime() {} in EnvTime() function in tensorflow::EnvTime
Denv.h330 EnvTime* envTime = EnvTime::Default();
/external/tensorflow/tensorflow/core/platform/windows/
Denv_time.cc30 class WindowsEnvTime : public EnvTime {
82 EnvTime* EnvTime::Default() { in Default()
83 static EnvTime* default_time_env = new WindowsEnvTime; in Default()
/external/tensorflow/tensorflow/core/platform/cloud/
Dgcs_throttle.h73 explicit GcsThrottle(EnvTime* env_time = EnvTime::Default());
161 EnvTime* const env_time_;
Dgcs_throttle.cc22 GcsThrottle::GcsThrottle(EnvTime* env_time) in GcsThrottle()
Dgcs_throttle_test.cc25 class TestTime : public EnvTime {
/external/tensorflow/tensorflow/core/kernels/data/
Dmodel_dataset_op.cc29 constexpr int kOptimizationPeriodThresholdMs = 60 * EnvTime::kSecondsToMicros;
167 ctx->env()->NowMicros() / EnvTime::kMillisToMicros) { in OptimizeThread()
171 ctx->env()->NowMicros() / EnvTime::kMillisToMicros)); in OptimizeThread()
186 ctx->env()->NowMicros() / EnvTime::kMillisToMicros; in OptimizeThread()
/external/tensorflow/tensorflow/core/profiler/lib/
Dprofiler_session.cc108 EnvTime::kMicrosToPicos); in ConvertRunMetadataToTraceEvent()
110 EnvTime::kMicrosToPicos); in ConvertRunMetadataToTraceEvent()
157 start_time_micros_(Env::Default()->NowNanos() / EnvTime::kMicrosToNanos) { in ProfilerSession()
/external/tensorflow/tensorflow/core/profiler/internal/
Dtraceme_recorder_test.cc156 Env::Default()->SleepForMicroseconds(1 * EnvTime::kMillisToMicros); in TEST()
167 Env::Default()->SleepForMicroseconds(100 * EnvTime::kMillisToMicros); in TEST()
196 Env::Default()->SleepForMicroseconds(1 * EnvTime::kMillisToMicros); in TEST()
/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/platform/default/
Dlogging.cc80 static EnvTime* env_time = tensorflow::EnvTime::Default();
/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/distributed_runtime/eager/
Deager_service_impl_test.cc377 tensorflow::EnvTime::kSecondsToMicros); in TEST_F()
397 tensorflow::EnvTime::kSecondsToMicros); in TEST_F()
Deager_service_impl.h111 destroy_after_secs * tensorflow::EnvTime::kSecondsToMicros; in ServerContext()