Home
last modified time | relevance | path

Searched refs:available_memory (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/lite/micro/
Dsimple_memory_allocator.cc74 const size_t available_memory = tail_ - aligned_result; in SetHeadBufferSize() local
75 if (available_memory < size) { in SetHeadBufferSize()
79 size, available_memory, size - available_memory); in SetHeadBufferSize()
107 const size_t available_memory = tail_ - aligned_result; in AllocateTemp() local
108 if (available_memory < size) { in AllocateTemp()
112 size, available_memory, size - available_memory); in AllocateTemp()
/external/google-breakpad/src/processor/
Dexploitability_win.cc209 uint32_t available_memory = in CheckPlatformExploitability() local
211 available_memory = available_memory > kDisassembleBytesBeyondPC ? in CheckPlatformExploitability()
212 kDisassembleBytesBeyondPC : available_memory; in CheckPlatformExploitability()
213 if (available_memory) { in CheckPlatformExploitability()
217 available_memory, in CheckPlatformExploitability()
/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()
96 return available_memory; in AvailableGPUMemory()
/external/libchrome/base/memory/
Dmemory_pressure_monitor_chromeos.cc274 int available_memory = in GetUsedMemoryInPercent() local
277 DCHECK(available_memory < total_memory); in GetUsedMemoryInPercent()
278 int percentage = ((total_memory - available_memory) * 100) / total_memory; in GetUsedMemoryInPercent()
/external/crosvm/libcrosvm_control/src/
Dlib.rs289 available_memory: i64, field
306 available_memory: convert(other.available_memory), in from()
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_device.cc910 int64 MinSystemMemory(int64 available_memory, int cc_major) { in MinSystemMemory() argument
919 if (available_memory < (1LL << 31)) { in MinSystemMemory()
947 VLOG(5) << "available_memory = " << available_memory; in MinSystemMemory()
959 int64 available_memory = 0; in SingleVirtualDeviceMemoryLimit() local
963 if (!se->DeviceMemoryUsage(&available_memory, &total_memory)) { in SingleVirtualDeviceMemoryLimit()
986 allocated_memory = available_memory; in SingleVirtualDeviceMemoryLimit()
987 const int64 min_system_memory = MinSystemMemory(available_memory, cc_major); in SingleVirtualDeviceMemoryLimit()
1011 if (allowable_reserved_memory <= available_memory) { in SingleVirtualDeviceMemoryLimit()
1012 allocated_memory = available_memory - allowable_reserved_memory; in SingleVirtualDeviceMemoryLimit()
1021 << strings::HumanReadableNumBytes(available_memory) in SingleVirtualDeviceMemoryLimit()
Dgpu_device_test.cc38 int64 total_memory, available_memory; in GetTotalGPUMemory() local
39 CHECK(se->DeviceMemoryUsage(&available_memory, &total_memory)); in GetTotalGPUMemory()
/external/crosvm/vm_control/src/
Dlib.rs124 pub available_memory: Option<u64>, field
151 if let Some(available_memory) = self.available_memory { in fmt()
152 write!(f, "\n available_memory: {}", available_memory)?; in fmt()
/external/crosvm/devices/src/virtio/
Dballoon.rs103 VIRTIO_BALLOON_S_AVAIL => stats.available_memory = val, in update_stats()