/external/caliper/caliper/src/main/java/com/google/caliper/worker/ |
AllocationStats.java | 38 private final long allocationSize; 44 * ({@code allocationCount}), cumulative size of the allocations ({@code allocationSize}) and the 47 AllocationStats(int allocationCount, long allocationSize, int reps) { 48 this(allocationCount, allocationSize, reps, ImmutableMultiset.<Allocation>of()); 60 private AllocationStats(int allocationCount, long allocationSize, int reps, 64 checkArgument(allocationSize >= 0, "allocationSize (%s) was negative", allocationSize); 65 this.allocationSize = allocationSize; [all...] |
AggregateAllocationsRecorder.java | 32 private final AtomicLong allocationSize = new AtomicLong(); 40 allocationSize.getAndAdd(size); 52 allocationSize.set(0); 59 return new AllocationStats(allocationCount.get(), allocationSize.get(), reps);
|
/external/deqp/external/vulkancts/modules/vulkan/memory/ |
vktMemoryAllocationTests.cpp | 139 const VkDeviceSize allocationSize = (m_config.memorySize ? *m_config.memorySize : (VkDeviceSize)(*m_config.memoryPercentage * (float)memoryHeap.size)); 151 if (allocationSize * m_config.memoryAllocationCount * 8 > memoryHeap.size) 164 allocationSize, // allocationSize 202 allocationSize, // allocationSize 442 const VkDeviceSize allocationSize = 1 + (m_rng.getUint64() % maxAllocSize); 444 if ((allocationSize > (deUint64)(heap.maxMemoryUsage - heap.memoryUsage)) && (allocationSize != 1)) 450 allocationSize [all...] |
vktMemoryMappingTests.cpp | 255 : allocationSize (~(VkDeviceSize)0) 259 VkDeviceSize allocationSize; 336 log << TestLog::Message << "Allocation size: " << config.allocationSize << " * atom" << TestLog::EndMessage; 373 log << TestLog::Message << "AllocationSize: " << config.allocationSize * atomSize << TestLog::EndMessage; 396 else if (memoryHeap.size <= 4 * atomSize * config.allocationSize) 402 const Unique<VkDeviceMemory> memory (allocMemory(vkd, device, config.allocationSize * atomSize, memoryTypeIndex)); 404 vector<deUint8> reference ((size_t)(config.allocationSize * atomSize)); [all...] |
/external/deqp/external/vulkancts/framework/vulkan/ |
vkMemUtil.cpp | 185 hostPtr = MovePtr<HostPtr>(new HostPtr(m_vk, m_device, *mem, 0u, allocInfo.allocationSize, 0u)); 197 memReqs.size, // VkDeviceSize allocationSize; 207 hostPtr = MovePtr<HostPtr>(new HostPtr(m_vk, m_device, *mem, 0u, allocInfo.allocationSize, 0u));
|
vkNullDriver.cpp | 241 if (pAllocInfo->allocationSize > 0) 243 void* const heapPtr = deMalloc((size_t)pAllocInfo->allocationSize);
|
vkStructTypes.inl | 334 VkDeviceSize allocationSize; [all...] |
vkStrUtilImpl.inl | [all...] |
/libcore/ojluni/src/main/java/sun/nio/ch/ |
DevPollArrayWrapper.java | 128 int allocationSize = NUM_POLLFDS * SIZE_POLLFD; 129 pollArray = new AllocatedNativeObject(allocationSize, true);
|
EPollArrayWrapper.java | 131 int allocationSize = NUM_EPOLLEVENTS * SIZE_EPOLLEVENT; 132 pollArray = new AllocatedNativeObject(allocationSize, true);
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
RuntimeDyldImpl.h | 75 size_t AllocationSize; 83 size_t allocationSize, uintptr_t objAddress) 86 AllocationSize(allocationSize), ObjAddress(objAddress) { 87 // AllocationSize is used only in asserts, prevent an "unused private field" 89 (void)AllocationSize; 98 assert(OffsetBytes <= AllocationSize && "Offset out of bounds!"); 109 assert(OffsetBytes <= AllocationSize && "Offset out of bounds!"); 117 assert(StubOffset <= AllocationSize && "Not enough space allocated!");
|
/external/vulkan-validation-layers/tests/ |
vkrenderframework.cpp | [all...] |
layer_validation_tests.cpp | 619 mem_alloc.allocationSize = 0; 629 mem_alloc.allocationSize = mem_reqs.size; 699 // .allocationSize = 0, 711 // mem_alloc.allocationSize = mem_reqs.size; 773 mem_alloc.allocationSize = 0; 784 mem_alloc.allocationSize = mem_reqs.size; [all...] |
vktestbinding.h | 716 info.allocationSize = size; [all...] |
/external/vulkan-validation-layers/demos/ |
tri.c | 745 .allocationSize = 0, 776 mem_alloc.allocationSize = mem_reqs.size; 832 .allocationSize = 0, 844 mem_alloc.allocationSize = mem_reqs.size; 872 mem_alloc.allocationSize, 0, &data); [all...] |
cube.c | 666 demo->uniform_data.mem_alloc.allocationSize, 0, [all...] |
/external/guice/extensions/persist/lib/ |
ejb3-persistence.jar | |
/external/clang/lib/CodeGen/ |
CGExprCXX.cpp | 624 // care because it only overflows if allocationSize does, too, and 631 llvm::APInt allocationSize 639 sizeWithoutCookie = llvm::ConstantInt::get(CGF.SizeTy, allocationSize); 641 allocationSize = allocationSize.uadd_ov(cookieSize, overflow); 649 size = llvm::ConstantInt::get(CGF.SizeTy, allocationSize); [all...] |
/external/vulkan-validation-layers/demos/smoke/ |
Meshes.cpp | 519 mem_info.allocationSize = ib_mem_offset_ + ib_mem_reqs.size;
|
Smoke.cpp | 498 mem_info.allocationSize = aligned_size * (frame_data_.size() - 1) +
|
/frameworks/native/vulkan/nulldrv/ |
null_driver.cpp | 737 if (SIZE_MAX - sizeof(DeviceMemory) <= alloc_info->allocationSize) 742 size_t size = sizeof(DeviceMemory) + size_t(alloc_info->allocationSize); [all...] |
/external/deqp/external/vulkancts/modules/vulkan/api/ |
vktApiObjectManagementTests.cpp | 301 VkDeviceSize getPageTableSize (const PlatformMemoryLimits& limits, VkDeviceSize allocationSize) 308 const VkDeviceSize numPagesNeeded = alignToPowerOfTwo(allocationSize, coveredAddressSpaceSize) / coveredAddressSpaceSize; 391 VkDeviceSize getPageTableSize (Context& context, VkDeviceSize allocationSize) 393 return getPageTableSize(getPlatformMemoryLimits(context), allocationSize); [all...] |
/external/vulkan-validation-layers/layers/ |
core_validation.cpp | 703 if (pInfo->allocInfo.allocationSize == 0 && !internal) { [all...] |
/external/skia/third_party/vulkan/ |
vulkan.h | [all...] |
/external/vulkan-validation-layers/include/vulkan/ |
vulkan.h | [all...] |