Home
last modified time | relevance | path

Searched refs:total_memory (Results 1 – 25 of 26) sorted by relevance

12

/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_bfc_allocator.cc77 size_t total_memory, const string& name) in GPUBFCAllocator() argument
78 : GPUBFCAllocator(sub_allocator, total_memory, GPUOptions(), name) {} in GPUBFCAllocator()
81 size_t total_memory, in GPUBFCAllocator() argument
84 : BFCAllocator(sub_allocator, total_memory, in GPUBFCAllocator()
Dgpu_bfc_allocator.h37 GPUBFCAllocator(SubAllocator* sub_allocator, size_t total_memory,
39 GPUBFCAllocator(SubAllocator* sub_allocator, size_t total_memory,
Dgpu_device_test.cc38 int64 total_memory, available_memory; in GetTotalGPUMemory() local
39 CHECK(se->DeviceMemoryUsage(&available_memory, &total_memory)); in GetTotalGPUMemory()
40 return total_memory; in GetTotalGPUMemory()
/external/autotest/client/site_tests/performance_Tracker/
Dperformance_Tracker.py47 total_memory = utils.get_mem_total()
48 return (total_memory - utils.get_mem_free()) * 100 / total_memory
/external/autotest/client/site_tests/enterprise_KioskPerf/
Denterprise_KioskPerf.py45 total_memory = utils.get_mem_total()
46 return (total_memory - utils.get_mem_free()) * 100 / total_memory
/external/libchrome/base/memory/
Dmemory_pressure_monitor_chromeos.cc263 int total_memory = info.total + info.swap_total / kSwapWeight; in GetUsedMemoryInPercent() local
277 DCHECK(available_memory < total_memory); in GetUsedMemoryInPercent()
278 int percentage = ((total_memory - available_memory) * 100) / total_memory; in GetUsedMemoryInPercent()
/external/libchrome/base/android/
Djava_runtime.cc12 void JavaRuntime::GetMemoryUsage(long* total_memory, long* free_memory) { in GetMemoryUsage() argument
16 *total_memory = JNI_Runtime::Java_Runtime_totalMemory(env, runtime); in GetMemoryUsage()
Djava_runtime.h19 static void GetMemoryUsage(long* total_memory, long* free_memory);
/external/autotest/server/site_tests/enterprise_LongevityTrackerServer/
Denterprise_longevity_helper.py43 total_memory = system_facade.get_mem_total()
44 return ((total_memory - system_facade.get_mem_free())
45 * 100 / total_memory)
/external/tensorflow/tensorflow/core/grappler/
Ddevices.cc93 int64 total_memory, available_memory; in AvailableGPUMemory() local
94 CHECK(se->DeviceMemoryUsage(&available_memory, &total_memory)); in AvailableGPUMemory()
/external/autotest/client/common_lib/cros/
Dsystem_metrics_collector.py125 total_memory = self.system_facade.get_mem_total()
127 used_memory = total_memory - free_memory
128 usage_percent = (used_memory * 100) / total_memory
/external/crosvm/libcrosvm_control/src/
Dlib.rs288 total_memory: i64, field
305 total_memory: convert(other.total_memory), in from()
/external/kernel-headers/original/uapi/video/
Duvesafb.h51 __u16 total_memory; member
/external/tensorflow/tensorflow/compiler/xla/pjrt/
Dgpu_device.cc115 int64 total_memory; in CreateBFCAllocator() local
116 if (!executor->DeviceMemoryUsage(&free_memory, &total_memory)) { in CreateBFCAllocator()
123 enable_unified_memory ? total_memory : free_memory * memory_fraction; in CreateBFCAllocator()
/external/autotest/client/site_tests/longevity_Tracker/
Dlongevity_Tracker.py77 total_memory = utils.get_mem_total()
79 return ((total_memory - free_memory) / total_memory) * 100
/external/tensorflow/tensorflow/core/common_runtime/
Dmkl_cpu_allocator.h55 MklSmallSizeAllocator(SubAllocator* sub_allocator, size_t total_memory, in MklSmallSizeAllocator() argument
58 stats_.bytes_limit = total_memory; in MklSmallSizeAllocator()
Dbfc_allocator.cc40 BFCAllocator::BFCAllocator(SubAllocator* sub_allocator, size_t total_memory, in BFCAllocator() argument
53 RoundedBytes(std::min(total_memory, size_t{2 << 20})); in BFCAllocator()
55 curr_region_allocation_bytes_ = RoundedBytes(total_memory); in BFCAllocator()
59 memory_limit_ = total_memory; in BFCAllocator()
60 stats_.bytes_limit = static_cast<int64>(total_memory); in BFCAllocator()
Dbfc_allocator.h52 BFCAllocator(SubAllocator* sub_allocator, size_t total_memory,
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dinference_context.cc686 uint64_t total_memory = 0; in GetSizeOfMemoryAllocatedForIntermediateTensors() local
688 total_memory += t.second.GetMemorySizeInBytes(); in GetSizeOfMemoryAllocatedForIntermediateTensors()
691 total_memory += b.GetMemorySizeInBytes(); in GetSizeOfMemoryAllocatedForIntermediateTensors()
694 total_memory += t.second.GetMemorySizeInBytes(); in GetSizeOfMemoryAllocatedForIntermediateTensors()
697 return total_memory; in GetSizeOfMemoryAllocatedForIntermediateTensors()
/external/crosvm/vm_control/src/
Dlib.rs123 pub total_memory: Option<u64>, field
148 if let Some(total_memory) = self.total_memory { in fmt()
149 write!(f, "\n total_memory: {}", total_memory)?; in fmt()
/external/perfetto/src/profiling/memory/
Dmalloc_interceptor_bionic_hooks.cc42 size_t* total_memory,
/external/tensorflow/tensorflow/core/profiler/internal/gpu/
Dcupti_collector.cc525 size_t total_memory = 0; in GetDeviceCapabilities() local
526 if (cuDeviceTotalMem(&total_memory, device) == CUDA_SUCCESS) { in GetDeviceCapabilities()
530 static_cast<uint64>(total_memory)); in GetDeviceCapabilities()
/external/tcpdump/
Dprint-sflow.c459 uint8_t total_memory[8]; member
479 EXTRACT_64BITS(sflow_processor_counter->total_memory), in print_sflow_counter_processor()
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcuda_driver.cc457 uint64 total_memory; in CreateContext() local
458 if (GetDeviceTotalMemory(device, &total_memory)) { in CreateContext()
459 absl::StrAppend(&message, "; total memory reported: ", total_memory); in CreateContext()
/external/crosvm/devices/src/virtio/
Dballoon.rs102 VIRTIO_BALLOON_S_MEMTOT => stats.total_memory = val, in update_stats()

12