/external/tensorflow/tensorflow/lite/profiling/ |
D | time_test.cc | 24 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()
|
D | time.cc | 31 uint64_t NowMicros() { in NowMicros() function 43 uint64_t NowMicros() {
|
D | profile_buffer.h | 80 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/ |
D | benchmark_model.cc | 121 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/ |
D | basic_batch_scheduler_benchmark_test.cc | 63 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()
|
D | periodic_function.cc | 50 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/ |
D | benchmark.cc | 41 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/ |
D | tracking_allocator.cc | 48 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()
|
D | run_handler.cc | 154 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/ |
D | debug_grpc_io_utils_test.cc | 93 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()
|
D | debug_io_utils_test.cc | 112 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/ |
D | summary_file_writer.cc | 53 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()
|
D | loader.cc | 96 uint64 start = env->NowMicros(); in main() 113 uint64 elapsed = env->NowMicros() - start; in main()
|
/external/tensorflow/tensorflow/core/util/ |
D | exec_on_stall.h | 46 deadline_ = env_->NowMicros() + 1000000 * delay_secs; in disabled_() 48 while (env_->NowMicros() < deadline_) { in disabled_()
|
/external/tensorflow/tensorflow/contrib/ignite/kernels/dataset/ |
D | ignite_dataset_iterator.cc | 285 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/ |
D | direct_session_with_tracking_alloc_test.cc | 91 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/ |
D | grpc_remote_master.cc | 127 int64 expired_time_micros = Env::Default()->NowMicros(); 162 const int64 now_micros = Env::Default()->NowMicros(); 174 if (Env::Default()->NowMicros() > expired_time_micros &&
|
D | grpc_remote_worker.cc | 130 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/ |
D | env.h | 257 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/ |
D | model_dataset_op.cc | 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/cc/saved_model/ |
D | loader.cc | 61 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/ |
D | collection_registry.cc | 82 {metric_def, collection_function, env_->NowMicros() / 1000}}); in Register() 95 internal::Collector collector(env_->NowMicros() / 1000); in CollectMetrics()
|
/external/tensorflow/tensorflow/core/platform/default/ |
D | test_benchmark.cc | 215 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/ |
D | executable.cc | 63 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/ |
D | measuring_cost_estimator.cc | 69 const Costs::MicroSeconds start = Env::Default()->NowMicros(); in PredictCosts() 89 const Costs::MicroSeconds finish = Env::Default()->NowMicros(); in PredictCosts()
|