| /external/cronet/components/metrics/ |
| D | persistent_system_profile_unittest.cc | 56 base::PersistentMemoryAllocator* memory_allocator() { in memory_allocator() function in metrics::PersistentSystemProfileTest 70 base::PersistentMemoryAllocator::Iterator iter(memory_allocator()); in TEST_F() 102 ASSERT_TRUE(PersistentSystemProfile::HasSystemProfile(*memory_allocator())); in TEST_F() 104 PersistentSystemProfile::GetSystemProfile(*memory_allocator(), &proto2)); in TEST_F() 118 PersistentSystemProfile::GetSystemProfile(*memory_allocator(), &proto2)); in TEST_F() 134 PersistentSystemProfile::GetSystemProfile(*memory_allocator(), &proto2)); in TEST_F() 152 PersistentSystemProfile::GetSystemProfile(*memory_allocator(), &proto2)); in TEST_F() 167 PersistentSystemProfile::GetSystemProfile(*memory_allocator(), &fetched)); in TEST_F() 178 PersistentSystemProfile::GetSystemProfile(*memory_allocator(), &fetched)); in TEST_F() 185 PersistentSystemProfile::GetSystemProfile(*memory_allocator(), &fetched)); in TEST_F() [all …]
|
| D | persistent_system_profile.h | 35 base::PersistentMemoryAllocator* memory_allocator); 37 base::PersistentMemoryAllocator* memory_allocator); 57 const base::PersistentMemoryAllocator& memory_allocator); 64 const base::PersistentMemoryAllocator& memory_allocator, 81 RecordAllocator(base::PersistentMemoryAllocator* memory_allocator, 85 RecordAllocator(const base::PersistentMemoryAllocator* memory_allocator); 139 const base::PersistentMemoryAllocator& memory_allocator,
|
| D | persistent_system_profile.cc | 55 base::PersistentMemoryAllocator* memory_allocator, in RecordAllocator() argument 57 : allocator_(memory_allocator), in RecordAllocator() 66 const base::PersistentMemoryAllocator* memory_allocator) in RecordAllocator() argument 68 const_cast<base::PersistentMemoryAllocator*>(memory_allocator)), in RecordAllocator() 281 base::PersistentMemoryAllocator* memory_allocator) { in RegisterPersistentAllocator() argument 286 RecordAllocator allocator(memory_allocator, 1); in RegisterPersistentAllocator() 292 base::PersistentMemoryAllocator* memory_allocator) { in DeregisterPersistentAllocator() argument 298 return records.allocator() == memory_allocator; in DeregisterPersistentAllocator() 367 const base::PersistentMemoryAllocator& memory_allocator) { in HasSystemProfile() argument 368 const RecordAllocator records(&memory_allocator); in HasSystemProfile() [all …]
|
| D | file_metrics_provider.cc | 545 std::unique_ptr<base::FilePersistentMemoryAllocator> memory_allocator = in CheckAndMapMetricSource() local 548 if (memory_allocator->GetMemoryState() == in CheckAndMapMetricSource() 552 if (memory_allocator->IsCorrupt()) in CheckAndMapMetricSource() 562 memory_allocator->Cache(); in CheckAndMapMetricSource() 566 std::move(memory_allocator)); in CheckAndMapMetricSource() 571 *source->allocator->memory_allocator(), nullptr)) { in CheckAndMapMetricSource() 689 *source->allocator->memory_allocator(), system_profile_proto)) { in ProvideIndependentMetricsOnTaskRunner() 923 *source->allocator->memory_allocator())) { in HasPreviousSessionData()
|
| /external/libchrome/base/metrics/ |
| D | persistent_histogram_allocator_unittest.cc | 40 allocator_ = GlobalHistogramAllocator::Get()->memory_allocator(); in CreatePersistentHistogramAllocator() 170 GlobalHistogramAllocator::Get()->memory_allocator()->Name()); in TEST_F() 176 GlobalHistogramAllocator::Get()->memory_allocator()->Name()); in TEST_F() 182 GlobalHistogramAllocator::Get()->memory_allocator()->Name()); in TEST_F() 261 const_cast<void*>(new_allocator->memory_allocator()->data()), in TEST_F() 262 new_allocator->memory_allocator()->size(), 0, 0, "", false)); in TEST_F() 308 const_cast<void*>(new_allocator->memory_allocator()->data()), in TEST_F() 309 new_allocator->memory_allocator()->size(), 0, 0, "", false)); in TEST_F()
|
| D | persistent_histogram_allocator.cc | 259 : allocator_(allocator), memory_iter_(allocator->memory_allocator()) {} in Iterator() 914 PersistentMemoryAllocator* memory_allocator = in ReleaseForTesting() local 915 histogram_allocator->memory_allocator(); in ReleaseForTesting() 920 PersistentMemoryAllocator::Iterator iter(memory_allocator); in ReleaseForTesting() 964 memory_allocator()->SetMemoryState(PersistentMemoryAllocator::MEMORY_DELETED); in DeletePersistentLocation()
|
| /external/cronet/base/metrics/ |
| D | persistent_histogram_allocator_unittest.cc | 49 allocator_ = GlobalHistogramAllocator::Get()->memory_allocator(); in CreatePersistentHistogramAllocator() 176 GlobalHistogramAllocator::Get()->memory_allocator()->Name()); in TEST_F() 182 GlobalHistogramAllocator::Get()->memory_allocator()->Name()); in TEST_F() 188 GlobalHistogramAllocator::Get()->memory_allocator()->Name()); in TEST_F() 273 const_cast<void*>(new_allocator->memory_allocator()->data()), in TEST_F() 274 new_allocator->memory_allocator()->size(), 0, 0, "", false)); in TEST_F() 327 const_cast<void*>(new_allocator->memory_allocator()->data()), in TEST_F() 328 new_allocator->memory_allocator()->size(), 0, 0, "", false)); in TEST_F() 396 const_cast<void*>(new_allocator->memory_allocator()->data()), in TEST_F() 397 new_allocator->memory_allocator()->size(), 0, 0, "", false)); in TEST_F()
|
| D | persistent_histogram_allocator.cc | 259 : allocator_(allocator), memory_iter_(allocator->memory_allocator()) {} in Iterator() 895 PersistentMemoryAllocator* memory_allocator = in ReleaseForTesting() local 896 histogram_allocator->memory_allocator(); in ReleaseForTesting() 901 PersistentMemoryAllocator::Iterator iter(memory_allocator); in ReleaseForTesting() 964 memory_allocator()->SetMemoryState(PersistentMemoryAllocator::MEMORY_DELETED); in DeletePersistentLocation()
|
| /external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
| D | buffer_allocations.h | 40 se::DeviceMemoryAllocator* memory_allocator) in BufferAllocations() argument 43 memory_allocator_(memory_allocator) {} in BufferAllocations() 50 se::DeviceMemoryAllocator* memory_allocator() const { in memory_allocator() function
|
| D | gpu_executable.cc | 461 se::DeviceMemoryAllocator* const memory_allocator, int device_ordinal, in BufferForAllocation() argument 500 memory_allocator->Allocate(device_ordinal, buffer_size); in BufferForAllocation() 535 se::DeviceMemoryAllocator* const memory_allocator, int device_ordinal) { in GenerateBufferAllocations() argument 547 BufferForAllocation(arguments, globals, allocation, memory_allocator, in GenerateBufferAllocations() 552 return {{buffers, device_ordinal, memory_allocator}}; in GenerateBufferAllocations() 688 se::DeviceMemoryAllocator* const memory_allocator = run_options->allocator(); in ExecuteAsyncOnStreamImpl() local 691 !memory_allocator->AllowsAsynchronousDeallocation(); in ExecuteAsyncOnStreamImpl() 710 ExecutionOutput result(/*on_device_shape=*/output_shape_, memory_allocator, in ExecuteAsyncOnStreamImpl() 715 GenerateBufferAllocations(arguments, globals, memory_allocator, in ExecuteAsyncOnStreamImpl() 798 memory_allocator->Allocate(device_ordinal, allocation_size); in ExecuteAsyncOnStreamImpl()
|
| D | fft_thunk.cc | 92 &fft_plan_cache_, params.stream, buffer_allocations.memory_allocator()); in ExecuteOnStream() 99 se::Stream* stream, se::DeviceMemoryAllocator* memory_allocator) { in RunFft() argument 105 memory_allocator); in RunFft()
|
| D | gpu_executable.h | 243 se::DeviceMemoryAllocator* const memory_allocator, int device_ordinal); 249 se::DeviceMemoryAllocator* const memory_allocator, int device_ordinal,
|
| D | cublas_lt_matmul_thunk.cc | 62 allocs.memory_allocator()); in ExecuteOnStream()
|
| D | fft_thunk.h | 95 se::Stream* stream, se::DeviceMemoryAllocator* memory_allocator);
|
| /external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
| D | cpu_executable.cc | 97 se::DeviceMemoryAllocator* memory_allocator, int device_ordinal) { in MemoryForAllocation() argument 118 memory_allocator->Allocate(device_ordinal, buffer_size)); in MemoryForAllocation() 131 se::DeviceMemoryAllocator* memory_allocator, int device_ordinal, in CreateBufferTable() argument 141 buffers[i], MemoryForAllocation(allocation, arguments, memory_allocator, in CreateBufferTable() 345 se::DeviceMemoryAllocator* memory_allocator = run_options->allocator(); in ExecuteAsyncOnStream() local 348 CreateBufferTable(memory_allocator, stream->parent()->device_ordinal(), in ExecuteAsyncOnStream()
|
| /external/tensorflow/tensorflow/compiler/jit/ |
| D | xla_tensor.cc | 51 client->backend().memory_allocator(), in AllocateShapedBuffer() 59 client->backend().memory_allocator()->Allocate( in AllocateShapedBuffer()
|
| /external/tensorflow/tensorflow/compiler/xla/tests/ |
| D | buffer_donation_test.cc | 84 se::StreamExecutorMemoryAllocator memory_allocator( in RunAndCheck() local 88 run_options.set_allocator(&memory_allocator); in RunAndCheck() 105 argument_literal.shape(), &memory_allocator, in RunAndCheck() 119 &memory_allocator); in RunAndCheck()
|
| /external/tensorflow/tensorflow/compiler/xla/pjrt/ |
| D | tracked_device_buffer_test.cc | 38 client->backend().memory_allocator()->Allocate( in MakeArray() 46 client->backend().memory_allocator(), /*device_ordinal=*/0, in MakeArray()
|
| /external/tensorflow/tensorflow/core/tpu/kernels/ |
| D | tpu_execute_op.cc | 277 se::DeviceMemoryAllocator* const allocator = backend->memory_allocator(); in BuildComputationInputs() 364 memory_allocator(allocator) {} in OutputBuffers() 371 memory_allocator->Deallocate(buffers.device_ordinal(), buffer); in ~OutputBuffers() 384 se::DeviceMemoryAllocator* const memory_allocator; member 436 node_context->backend()->memory_allocator(); in AllocateOutputTensors() 684 se::DeviceMemoryAllocator* const allocator = backend->memory_allocator(); in DoWork()
|
| /external/tensorflow/tensorflow/compiler/xla/service/ |
| D | hlo_runner.cc | 56 literal.shape(), backend().memory_allocator(), in TransferLiteralToDevice() 254 argument->shape(), backend().memory_allocator(), device, in ExecuteReplicatedImpl() 464 backend().memory_allocator())); in CreateExecutable() 469 backend().memory_allocator()); in CreateExecutable() 478 run_options.set_allocator(backend().memory_allocator()); in GetServiceRunOptionsForDevice()
|
| /external/tensorflow/tensorflow/compiler/xrt/ |
| D | xrt_tpu_device.h | 47 return backend()->memory_allocator(); in allocator()
|
| /external/tensorflow/tensorflow/compiler/xrt/kernels/ |
| D | tpu_execute_op.cc | 158 node_context->backend()->memory_allocator())); in AllocateOutputTuple() 246 backend->memory_allocator()); in ExecuteTPUProgram() 349 release_inputs, backend->memory_allocator())); in DoWork() 470 config, execute_op, backend->memory_allocator()); in DoWork()
|
| /external/tensorflow/tensorflow/compiler/xla/service/gpu/tests/ |
| D | mlir_gpu_test_base.cc | 81 executable_run_options.set_allocator(backend_->memory_allocator()); in RunMlirModule() 107 auto* allocator = backend_->memory_allocator(); in RunMlirModuleWithHostBuffers()
|
| D | gpu_convolution_regression_test.cc | 31 backend().default_stream_executor(), backend().memory_allocator()); in CheckForHloText()
|
| /external/tensorflow/tensorflow/compiler/xla/stream_executor/gpu/ |
| D | redzone_allocator.h | 45 RedzoneAllocator(Stream* stream, DeviceMemoryAllocator* memory_allocator,
|