Home
last modified time | relevance | path

Searched refs:timing_counter_ (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_device_test.cc466 timing_counter_.reset(new SharedCounter); in Init()
468 timing_counter_.get(), nullptr, in Init()
478 std::unique_ptr<SharedCounter> timing_counter_; member in tensorflow::GPUKernelTrackerTest
489 uint64 queued_count = timing_counter_->next(); in TEST_F()
504 EXPECT_EQ(timing_counter_->get(), kernel_tracker_->LastTerminatedCount(0)); in TEST_F()
509 int64 lower_bound = timing_counter_->get(); in TEST_F()
511 uint64 queued_count = timing_counter_->next(); in TEST_F()
514 int64 upper_bound = timing_counter_->get(); in TEST_F()
535 EXPECT_EQ(timing_counter_->get(), kernel_tracker_->LastTerminatedCount(0)); in TEST_F()
Dgpu_device.h208 timing_counter_(timing_counter), in GPUKernelTracker()
214 if (!timing_counter_) { in GPUKernelTracker()
218 timing_counter_ = owned_counter_.get(); in GPUKernelTracker()
272 SharedCounter* timing_counter_; variable
Dgpu_device.cc1954 uint64 queued_count = timing_counter_->next(); in MaybeQueue()
2009 uint64 new_count = timing_counter_->next(); in MaybeQueueProgressEvent()
/external/tensorflow/tensorflow/core/common_runtime/
Dbfc_allocator.cc661 if (timing_counter_) { in DeallocateRawInternal()
754 if (timing_counter_) { in MarkFree()
755 c->freed_at_count = timing_counter_->next(); in MarkFree()
1040 if (timing_counter_) { in DumpMemoryLog()
1131 if (timing_counter_) { in RecordMemoryMapInternal()
Dbfc_allocator.h80 void SetTimingCounter(SharedCounter* sc) { timing_counter_ = sc; } in SetTimingCounter()
586 SharedCounter* timing_counter_ = nullptr; variable