Home
last modified time | relevance | path

Searched refs:memory_allocator_ (Results 1 – 11 of 11) sorted by relevance

/external/libchrome/base/metrics/
Dpersistent_histogram_allocator.h218 return memory_allocator_.get(); in memory_allocator()
223 uint64_t Id() const { return memory_allocator_->Id(); } in Id()
224 const char* Name() const { return memory_allocator_->Name(); } in Name()
225 const void* data() const { return memory_allocator_->data(); } in data()
226 size_t length() const { return memory_allocator_->length(); } in length()
227 size_t size() const { return memory_allocator_->size(); } in size()
228 size_t used() const { return memory_allocator_->used(); } in used()
318 std::unique_ptr<PersistentMemoryAllocator> memory_allocator_; variable
Dpersistent_histogram_allocator.cc274 : memory_allocator_(std::move(memory)), in PersistentHistogramAllocator()
275 sparse_histogram_data_manager_(memory_allocator_.get()) {} in PersistentHistogramAllocator()
287 memory_allocator_->GetAsObject<PersistentHistogramData>(ref); in GetHistogram()
288 const size_t length = memory_allocator_->GetAllocSize(ref); in GetHistogram()
321 if (memory_allocator_->IsCorrupt()) in AllocateHistogram()
331 memory_allocator_->New<PersistentHistogramData>( in AllocateHistogram()
364 memory_allocator_->Allocate(ranges_bytes, kTypeIdRangesArray); in AllocateHistogram()
367 memory_allocator_->GetAsArray<HistogramBase::Sample>( in AllocateHistogram()
379 DCHECK_EQ(kTypeIdRangesArray, memory_allocator_->GetType(ranges_ref)); in AllocateHistogram()
413 memory_allocator_->GetAsReference(histogram_data); in AllocateHistogram()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dbuffer_allocations.h43 memory_allocator_(memory_allocator) {} in BufferAllocations()
51 return memory_allocator_; in memory_allocator()
91 se::DeviceMemoryAllocator* memory_allocator_; variable
Dbuffer_allocations.cc51 memory_allocator_->Deallocate(device_ordinal_, buffer_address); in TearDown()
Dfft_thunk.h52 se::DeviceMemoryAllocator* memory_allocator_; variable
Dfft_thunk.cc32 : device_ordinal_(device_ordinal), memory_allocator_(memory_allocator) {} in FftScratchAllocator()
51 memory_allocator_->Allocate(device_ordinal_, byte_size, in AllocateBytes()
Dgpu_conv_algorithm_picker.cc60 : device_ordinal_(device_ordinal), memory_allocator_(memory_allocator) {} in ScratchAllocator()
78 se::DeviceMemoryAllocator* memory_allocator_; member in xla::gpu::__anonbaa4aab20111::ScratchAllocator
95 memory_allocator_->Allocate(device_ordinal_, byte_size, in AllocateBytes()
/external/tensorflow/tensorflow/compiler/xla/service/
Dbackend.h92 return memory_allocator_.get(); in memory_allocator()
95 return memory_allocator_; in shared_memory_allocator()
188 std::shared_ptr<se::StreamExecutorMemoryAllocator> memory_allocator_; variable
Dbackend.cc132 memory_allocator_ = std::make_shared<se::StreamExecutorMemoryAllocator>( in Backend()
/external/tensorflow/tensorflow/stream_executor/gpu/
Dredzone_allocator.h115 DeviceMemoryAllocator* memory_allocator_; variable
Dredzone_allocator.cc60 memory_allocator_(memory_allocator), in RedzoneAllocator()
77 memory_allocator_->Allocate(device_ordinal_, in AllocateBytes()