Home
last modified time | relevance | path

Searched refs:NowMicros (Results 1 – 25 of 88) sorted by relevance

1234

/external/tensorflow/tensorflow/lite/profiling/
Dtime_test.cc24 TEST(TimeTest, NowMicros) { in TEST() argument
25 auto now0 = NowMicros(); in TEST()
27 auto now1 = NowMicros(); in TEST()
36 auto now0 = NowMicros(); in TEST()
38 auto now1 = NowMicros(); in TEST()
42 now0 = NowMicros(); in TEST()
44 now1 = NowMicros(); in TEST()
Dtime.cc31 uint64_t NowMicros() { in NowMicros() function
43 uint64_t NowMicros() {
Dprofile_buffer.h80 uint64_t timestamp = time::NowMicros(); in BeginEvent()
113 event_buffer_[event_index].end_timestamp_us = time::NowMicros(); in EndEvent()
/external/tensorflow/tensorflow/lite/tools/benchmark/
Dbenchmark_model.cc121 profiling::time::NowMicros() + static_cast<int64_t>(min_secs * 1.e6f); in Run()
123 run < min_num_times || profiling::time::NowMicros() < min_finish_us; in Run()
127 int64_t start_us = profiling::time::NowMicros(); in Run()
129 int64_t end_us = profiling::time::NowMicros(); in Run()
156 int64_t initialization_start_us = profiling::time::NowMicros(); in Run()
158 int64_t initialization_end_us = profiling::time::NowMicros(); in Run()
/external/tensorflow/tensorflow/core/kernels/batching_util/
Dbasic_batch_scheduler_benchmark_test.cc63 const int64 start_time_micros = Env::Default()->NowMicros(); in InjectLoad()
73 int64 now_micros = Env::Default()->NowMicros(); in InjectLoad()
79 now_micros = Env::Default()->NowMicros(); in InjectLoad()
103 : start_time_micros_(Env::Default()->NowMicros()) {} in BenchmarkBatchTask()
251 const int64 start_time_micros = Env::Default()->NowMicros(); in RunBenchmark()
266 Env::Default()->NowMicros() - start_time_micros; in RunBenchmark()
278 Env::Default()->NowMicros() - start_time_micros; in RunBenchmark()
313 const uint64 batch_completion_time = Env::Default()->NowMicros(); in ProcessBatch()
Dperiodic_function.cc50 RunLoop(options_.env->NowMicros()); in __anon319300e40202()
76 const int64 begin = options_.env->NowMicros(); in RunLoop()
82 std::max(static_cast<int64>(options_.env->NowMicros()), begin); in RunLoop()
/external/tensorflow/tensorflow/compiler/aot/
Dbenchmark.cc41 static double NowMicros() { in NowMicros() function
118 const int64 start_us = NowMicros(); in Benchmark()
121 const int64 iter_start_us = NowMicros(); in Benchmark()
123 const int64 end_us = NowMicros(); in Benchmark()
/external/tensorflow/tensorflow/core/framework/
Dtracking_allocator.cc48 allocations_.emplace_back(allocated_bytes, Env::Default()->NowMicros()); in AllocateRaw()
64 allocations_.emplace_back(allocated_bytes, Env::Default()->NowMicros()); in AllocateRaw()
69 allocations_.emplace_back(num_bytes, Env::Default()->NowMicros()); in AllocateRaw()
102 allocations_.emplace_back(-allocated_bytes, Env::Default()->NowMicros()); in DeallocateRaw()
Drun_handler.cc154 uint64 now = tensorflow::Env::Default()->NowMicros(); in ReleaseHandler()
225 uint64 now = tensorflow::Env::Default()->NowMicros(); in RecomputePoolStatsLocked()
255 start_time_us_ = tensorflow::Env::Default()->NowMicros(); in Reset()
/external/tensorflow/tensorflow/core/debug/
Ddebug_grpc_io_utils_test.cc93 tensor, Env::Default()->NowMicros(), {kInvalidGrpcUrl}); in TEST_F()
115 kDebugNodeKey, tensor, Env::Default()->NowMicros(), {server_data.url}); in TEST_F()
135 kDebugNodeKey, tensor, Env::Default()->NowMicros(), {server_data_.url})); in TEST_F()
154 kDebugNodeKey, tensor, Env::Default()->NowMicros(), {server_data_.url}); in TEST_F()
170 kDebugNodeKey, tensor, Env::Default()->NowMicros(), {server_data_.url}); in TEST_F()
211 const uint64 wall_time = Env::Default()->NowMicros(); in TEST_F()
271 const uint64 wall_time = Env::Default()->NowMicros(); in TEST_F()
319 const uint64 wall_time = Env::Default()->NowMicros(); in TEST_F()
Ddebug_io_utils_test.cc112 const uint64 wall_time = env_->NowMicros(); in TEST_F()
155 const uint64 wall_time = env_->NowMicros(); in TEST_F()
228 const uint64 wall_time = env_->NowMicros(); in TEST_F()
251 const uint64 wall_time = env_->NowMicros(); in TEST_F()
320 const uint64 wall_time = env_->NowMicros(); in TEST_F()
356 const uint64 wall_time = env_->NowMicros(); in TEST_F()
/external/tensorflow/tensorflow/core/summary/
Dsummary_file_writer.cc53 last_flush_ = env_->NowMicros(); in Initialize()
145 env_->NowMicros() - last_flush_ > 1000 * flush_millis_) { in WriteEvent()
155 return static_cast<double>(env_->NowMicros()) / 1.0e6; in GetWallTime()
165 last_flush_ = env_->NowMicros(); in InternalFlush()
Dloader.cc96 uint64 start = env->NowMicros(); in main()
113 uint64 elapsed = env->NowMicros() - start; in main()
/external/tensorflow/tensorflow/core/util/
Dexec_on_stall.h46 deadline_ = env_->NowMicros() + 1000000 * delay_secs; in disabled_()
48 while (env_->NowMicros() < deadline_) { in disabled_()
/external/tensorflow/tensorflow/contrib/ignite/kernels/dataset/
Dignite_dataset_iterator.cc285 uint64 wait_start = Env::Default()->NowMicros(); in ScanQuery()
288 int64_t wait_stop = Env::Default()->NowMicros(); in ScanQuery()
336 uint64 wait_start = Env::Default()->NowMicros(); in LoadNextPage()
339 uint64 wait_stop = Env::Default()->NowMicros(); in LoadNextPage()
385 uint64 start = Env::Default()->NowMicros(); in ReceivePage()
387 uint64 stop = Env::Default()->NowMicros(); in ReceivePage()
/external/tensorflow/tensorflow/core/common_runtime/
Ddirect_session_with_tracking_alloc_test.cc91 const int64 start_micros = Env::Default()->NowMicros(); in TEST()
93 const int64 run_duration_micros = Env::Default()->NowMicros() - start_micros; in TEST()
211 const int64 start_micros = Env::Default()->NowMicros(); in TestHWAccelerator()
220 const int64 run_duration_micros = Env::Default()->NowMicros() - start_micros; in TestHWAccelerator()
296 const int64 start_micros = Env::Default()->NowMicros(); in TEST()
299 const int64 run_duration_micros = Env::Default()->NowMicros() - start_micros; in TEST()
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_remote_master.cc127 int64 expired_time_micros = Env::Default()->NowMicros();
162 const int64 now_micros = Env::Default()->NowMicros();
174 if (Env::Default()->NowMicros() > expired_time_micros &&
Dgrpc_remote_worker.cc130 int64 start_usec = Env::Default()->NowMicros(); in RecvBufAsync()
140 int64 end_usec = Env::Default()->NowMicros(); in RecvBufAsync()
194 int64 start_usec = Env::Default()->NowMicros(); in RecvTensorAsync()
204 int64 end_usec = Env::Default()->NowMicros(); in RecvTensorAsync()
/external/tensorflow/tensorflow/core/platform/
Denv.h257 virtual uint64 NowMicros() { return envTime->NowMicros(); } in NowMicros() function
364 uint64 NowMicros() override { return target_->NowMicros(); } in NowMicros() function
/external/tensorflow/tensorflow/core/kernels/data/
Dmodel_dataset_op.cc167 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/cc/saved_model/
Dloader.cc61 const uint64 end_microseconds = Env::Default()->NowMicros(); in GetLatencyMicroseconds()
264 const uint64 read_start_microseconds = Env::Default()->NowMicros(); in LoadSavedModelInternal()
284 const uint64 graph_init_start_microseconds = Env::Default()->NowMicros(); in LoadSavedModelInternal()
306 const uint64 start_microseconds = Env::Default()->NowMicros(); in LoadSavedModel()
/external/tensorflow/tensorflow/core/lib/monitoring/
Dcollection_registry.cc82 {metric_def, collection_function, env_->NowMicros() / 1000}}); in Register()
95 internal::Collector collector(env_->NowMicros() / 1000); in CollectMetrics()
/external/tensorflow/tensorflow/core/platform/default/
Dtest_benchmark.cc215 start_time = env->NowMicros(); in Run()
252 if (start_time == 0) start_time = env->NowMicros(); in StartTiming()
256 accum_time += (env->NowMicros() - start_time); in StopTiming()
/external/tensorflow/tensorflow/compiler/xla/service/interpreter/
Dexecutable.cc63 uint64 start_micros = tensorflow::Env::Default()->NowMicros(); in ExecuteOnStream()
113 uint64 end_micros = tensorflow::Env::Default()->NowMicros(); in ExecuteOnStream()
/external/tensorflow/tensorflow/core/grappler/costs/
Dmeasuring_cost_estimator.cc69 const Costs::MicroSeconds start = Env::Default()->NowMicros(); in PredictCosts()
89 const Costs::MicroSeconds finish = Env::Default()->NowMicros(); in PredictCosts()

1234