/external/caliper/caliper/src/main/java/com/google/caliper/worker/ |
D | AllocationStats.java | 40 private final ImmutableMultiset<Allocation> allocations; field in AllocationStats 55 AllocationStats(Collection<Allocation> allocations, int reps) { in AllocationStats() argument 56 this(allocations.size(), Allocation.getTotalSize(allocations), reps, in AllocationStats() 57 ImmutableMultiset.copyOf(allocations)); in AllocationStats() 61 Multiset<Allocation> allocations) { in AllocationStats() argument 68 this.allocations = Multisets.copyHighestCountFirst(allocations); in AllocationStats() 85 for (Entry<Allocation> entry : baseline.allocations.entrySet()) { in minus() 86 int superCount = allocations.count(entry.getElement()); in minus() 101 Multisets.difference(allocations, baseline.allocations)); in minus() 121 Multisets.difference(allocations, baseline.allocations), in delta() [all …]
|
D | AllAllocationsRecorder.java | 36 private final ConcurrentHashMultiset<Allocation> allocations = ConcurrentHashMultiset.create(); field in AllAllocationsRecorder 66 allocations.add( 81 allocations.clear(); in doStartRecording() 88 return new AllocationStats(allocations, reps); in stopRecording()
|
D | Allocation.java | 42 static long getTotalSize(Collection<Allocation> allocations) { in getTotalSize() argument 44 for (Allocation allocation : allocations) { in getTotalSize()
|
/external/bcc/tools/ |
D | memleak_example.txt | 6 of which call stacks performed allocations that weren't subsequently freed. 11 [11:16:33] Top 2 stacks with outstanding allocations: 12 80 bytes in 5 allocations from stack 16 [11:16:34] Top 2 stacks with outstanding allocations: 17 160 bytes in 10 allocations from stack 22 Each entry printed is a set of allocations that originate from the same call 37 [11:16:33] Top 2 stacks with outstanding allocations: 42 64 bytes in 4 allocations from stack 46 [11:16:34] Top 2 stacks with outstanding allocations: 57 160 bytes in 10 allocations from stack [all …]
|
D | cobjnew_example.txt | 9 For example, trace Ruby object allocations when running some simple commands 13 Tracing allocations in process 27245 (language: ruby)... Ctrl-C to quit. 27 Plain C/C++ allocations (through "malloc") are also supported. We can't report 32 Tracing allocations in process 27245 (language: c)... Ctrl-C to quit. 54 Summarize object allocations in high-level languages. 72 ./uobjnew -l java 145 # summarize Java allocations in process 145 74 ./uobjnew -l ruby 6712 -C 10 # top 10 Ruby types by number of allocations
|
D | tclobjnew_example.txt | 9 For example, trace Ruby object allocations when running some simple commands 13 Tracing allocations in process 27245 (language: ruby)... Ctrl-C to quit. 27 Plain C/C++ allocations (through "malloc") are also supported. We can't report 32 Tracing allocations in process 27245 (language: c)... Ctrl-C to quit. 54 Summarize object allocations in high-level languages. 72 ./uobjnew -l java 145 # summarize Java allocations in process 145 74 ./uobjnew -l ruby 6712 -C 10 # top 10 Ruby types by number of allocations
|
D | javaobjnew_example.txt | 9 For example, trace Ruby object allocations when running some simple commands 13 Tracing allocations in process 27245 (language: ruby)... Ctrl-C to quit. 27 Plain C/C++ allocations (through "malloc") are also supported. We can't report 32 Tracing allocations in process 27245 (language: c)... Ctrl-C to quit. 54 Summarize object allocations in high-level languages. 72 ./uobjnew -l java 145 # summarize Java allocations in process 145 74 ./uobjnew -l ruby 6712 -C 10 # top 10 Ruby types by number of allocations
|
D | rubyobjnew_example.txt | 9 For example, trace Ruby object allocations when running some simple commands 13 Tracing allocations in process 27245 (language: ruby)... Ctrl-C to quit. 27 Plain C/C++ allocations (through "malloc") are also supported. We can't report 32 Tracing allocations in process 27245 (language: c)... Ctrl-C to quit. 54 Summarize object allocations in high-level languages. 72 ./uobjnew -l java 145 # summarize Java allocations in process 145 74 ./uobjnew -l ruby 6712 -C 10 # top 10 Ruby types by number of allocations
|
/external/minigbm/ |
D | helpers_array.c | 18 uint32_t allocations; member 28 array->allocations = 2; in drv_array_init() 29 array->items = calloc(array->allocations, sizeof(*array->items)); in drv_array_init() 38 if (array->size >= array->allocations) { in drv_array_append() 40 array->allocations *= 2; in drv_array_append() 41 new_items = realloc(array->items, array->allocations * sizeof(*array->items)); in drv_array_append() 67 if ((DIV_ROUND_UP(array->allocations, 2) > array->size) && array->allocations > 2) { in drv_array_remove() 69 array->allocations = DIV_ROUND_UP(array->allocations, 2); in drv_array_remove() 70 new_items = realloc(array->items, array->allocations * sizeof(*array->items)); in drv_array_remove()
|
/external/selinux/libselinux/utils/ |
D | avcstat.c | 33 unsigned long long allocations; member 189 &tmp.allocations, in main() 198 tot.allocations += tmp.allocations; in main() 210 tot.allocations, tot.reclaims, tot.frees); in main() 215 rel.allocations = tot.allocations - last.allocations; in main() 220 rel.allocations, rel.reclaims, rel.frees); in main()
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkAllocationCallbackUtil.cpp | 364 std::vector<AllocationSlot> allocations; in validateAllocationCallbacks() local 404 ptrToSlotIndex[record.data.allocation.returnedPtr] = allocations.size(); in validateAllocationCallbacks() 405 allocations.push_back(AllocationSlot(record, true)); in validateAllocationCallbacks() 410 if (!allocations[slotNdx].isLive) in validateAllocationCallbacks() 412 allocations[slotNdx].isLive = true; in validateAllocationCallbacks() 413 allocations[slotNdx].record = record; in validateAllocationCallbacks() 431 AllocationSlot& origSlot = allocations[origSlotNdx]; in validateAllocationCallbacks() 449 allocations[origSlotNdx].record = record; in validateAllocationCallbacks() 455 allocations[origSlotNdx].isLive = false; in validateAllocationCallbacks() 458 ptrToSlotIndex[record.data.reallocation.returnedPtr] = allocations.size(); in validateAllocationCallbacks() [all …]
|
/external/bcc/tools/lib/ |
D | uobjnew_example.txt | 9 For example, trace Ruby object allocations when running some simple commands 13 Tracing allocations in process 27245 (language: ruby)... Ctrl-C to quit. 27 Plain C/C++ allocations (through "malloc") are also supported. We can't report 32 Tracing allocations in process 27245 (language: c)... Ctrl-C to quit. 54 Summarize object allocations in high-level languages. 72 ./uobjnew -l java 145 # summarize Java allocations in process 145 74 ./uobjnew -l ruby 6712 -C 10 # top 10 Ruby types by number of allocations
|
/external/v8/tools/ |
D | predictable_wrapper.py | 53 allocations = allocation_str(output.stdout) 54 if not allocations: 59 if previous_allocations and previous_allocations != allocations: 65 previous_allocations = allocations
|
/external/v8/src/heap/ |
D | array-buffer-collector.cc | 16 std::vector<JSArrayBuffer::Allocation> allocations) { in AddGarbageAllocations() argument 18 allocations_.push_back(std::move(allocations)); in AddGarbageAllocations() 23 for (const std::vector<JSArrayBuffer::Allocation>& allocations : in FreeAllocations() local 25 for (JSArrayBuffer::Allocation alloc : allocations) { in FreeAllocations()
|
/external/tensorflow/tensorflow/core/framework/ |
D | tracking_allocator.cc | 176 gtl::InlinedVector<AllocRecord, 4> allocations; in GetRecordsAndUnRef() local 179 allocations.swap(allocations_); in GetRecordsAndUnRef() 185 return allocations; in GetRecordsAndUnRef() 189 gtl::InlinedVector<AllocRecord, 4> allocations; in GetCurrentRecords() local 193 allocations.push_back(alloc); in GetCurrentRecords() 196 return allocations; in GetCurrentRecords()
|
/external/perfetto/tools/ |
D | profiling_sample_distribution.cc | 92 std::vector<std::pair<std::string, uint64_t>> allocations; in ProfilingSampleDistributionMain() local 107 allocations.emplace_back(std::move(callsite), size); in ProfilingSampleDistributionMain() 110 for (const auto& pair : allocations) in ProfilingSampleDistributionMain() 132 for (const auto& pair : allocations) { in ProfilingSampleDistributionMain()
|
/external/perfetto/docs/ |
D | heapprofd.md | 7 heapprofd is a tool that tracks native heap allocations & deallocations of an 45 * objects: how many allocations without matching frees were done at this 47 * alloc\_objects: how many allocations (including ones with matching frees) were 59 heapprofd samples heap allocations. Given a sampling interval of n bytes, 64 The easiest way to reason about this is to imagine the memory allocations as a 65 steady stream of one byte allocations. From this stream, every n-th byte is 67 complete n bytes. As an optimization, we sample allocations larger than the 73 allocations get sampled as well as infrequent large ones. 78 contain all allocations done between the start of the process and the end 84 specialization. The resulting profile contains all allocations done between [all …]
|
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/ |
D | StreamAllocation.java | 247 if (connection.allocations.isEmpty()) { in deallocate() 303 connection.allocations.add(new WeakReference<>(this)); in acquire() 308 for (int i = 0, size = connection.allocations.size(); i < size; i++) { in release() 309 Reference<StreamAllocation> reference = connection.allocations.get(i); in release() 311 connection.allocations.remove(i); in release()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
D | StreamAllocation.java | 245 if (connection.allocations.isEmpty()) { in deallocate() 301 connection.allocations.add(new WeakReference<>(this)); in acquire() 306 for (int i = 0, size = connection.allocations.size(); i < size; i++) { in release() 307 Reference<StreamAllocation> reference = connection.allocations.get(i); in release() 309 connection.allocations.remove(i); in release()
|
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/ |
D | ConnectionPool.java | 141 if (connection.allocations.isEmpty()) total++; in getIdleConnectionCount() 182 if (connection.allocations.size() < connection.allocationLimit() in get() 221 if (connection.allocations.isEmpty()) { in evictAll() 301 List<Reference<StreamAllocation>> references = connection.allocations; in pruneAndGetAllocationCount()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | ConnectionPool.java | 135 if (connection.allocations.isEmpty()) total++; in getIdleConnectionCount() 176 if (connection.allocations.size() < connection.allocationLimit() in get() 215 if (connection.allocations.isEmpty()) { in evictAll() 295 List<Reference<StreamAllocation>> references = connection.allocations; in pruneAndGetAllocationCount()
|
/external/tensorflow/tensorflow/python/client/ |
D | timeline.py | 569 allocations = {} 575 if allocator not in allocations: 576 allocations[allocator] = [] 578 allocations[allocator].append((tensor.create_time, num_bytes, name)) 579 allocations[allocator].append((tensor.last_unref, -num_bytes, name)) 584 for allocator in allocations: 585 alloc_list = allocations[allocator]
|
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/ |
D | vktYCbCrUtil.cpp | 142 vector<AllocationSp>* allocations) in allocateStagingBuffers() argument 164 allocations->push_back(AllocationSp(allocation.release())); in allocateStagingBuffers() 173 vector<AllocationSp>* allocations) in allocateAndWriteStagingBuffers() argument 175 allocateStagingBuffers(vkd, device, allocator, imageData, buffers, allocations); in allocateAndWriteStagingBuffers() 179 …deMemcpy((*allocations)[planeNdx]->getHostPtr(), imageData.getPlanePtr(planeNdx), imageData.getPla… in allocateAndWriteStagingBuffers() 180 flushMappedMemoryRange(vkd, device, (*allocations)[planeNdx]->getMemory(), 0u, VK_WHOLE_SIZE); in allocateAndWriteStagingBuffers() 187 const vector<AllocationSp>& allocations) in readStagingBuffers() argument 191 invalidateMappedMemoryRange(vkd, device, allocations[planeNdx]->getMemory(), 0u, VK_WHOLE_SIZE); in readStagingBuffers() 192 …deMemcpy(imageData->getPlanePtr(planeNdx), allocations[planeNdx]->getHostPtr(), imageData->getPlan… in readStagingBuffers() 289 vector<AllocationSp> allocations; in allocateAndBindImageMemory() local [all …]
|
/external/python/cpython3/Doc/library/ |
D | tracemalloc.rst | 1 :mod:`tracemalloc` --- Trace memory allocations 5 :synopsis: Trace memory allocations. 25 start tracing Python memory allocations. 272 module is not tracing memory allocations or did not trace the allocation of 282 The :mod:`tracemalloc` module must be tracing memory allocations to 304 allocations, ``False`` otherwise. 311 Start tracing Python memory allocations: install hooks on Python memory 334 Stop tracing Python memory allocations: uninstall hooks on Python memory 351 :mod:`tracemalloc` module started to trace memory allocations. 356 The :mod:`tracemalloc` module must be tracing memory allocations to take a [all …]
|
/external/v8/src/profiler/ |
D | sampling-heap-profiler.cc | 243 std::vector<v8::AllocationProfile::Allocation> allocations; in TranslateAllocationNode() local 244 allocations.reserve(node->allocations_.size()); in TranslateAllocationNode() 262 allocations.push_back(ScaleSample(alloc.first, alloc.second)); in TranslateAllocationNode() 269 std::vector<v8::AllocationProfile::Node*>(), allocations})); in TranslateAllocationNode()
|