Home
last modified time | relevance | path

Searched refs:allocations (Results 1 – 25 of 404) sorted by relevance

12345678910>>...17

/external/caliper/caliper/src/main/java/com/google/caliper/worker/
DAllocationStats.java40 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 …]
DAllAllocationsRecorder.java36 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()
/external/bcc/tools/
Dmemleak_example.txt6 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 …]
Dcobjnew_example.txt9 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
Djavaobjnew_example.txt9 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
Drubyobjnew_example.txt9 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
Dtclobjnew_example.txt9 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/
Dhelpers_array.c18 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/tensorflow/tensorflow/lite/micro/
Drecording_micro_allocator.cc109 RecordedAllocation allocations = SnapshotAllocationUsage(); in AllocatePersistentBuffer() local
111 RecordAllocationUsage(allocations, recorded_persistent_buffer_data_); in AllocatePersistentBuffer()
134 RecordedAllocation allocations = SnapshotAllocationUsage(); in AllocateNodeAndRegistrations() local
139 RecordAllocationUsage(allocations, in AllocateNodeAndRegistrations()
159 RecordedAllocation allocations = SnapshotAllocationUsage(); in PrepareNodeAndRegistrationDataFromFlatbuffer() local
165 RecordAllocationUsage(allocations, recorded_op_data_); in PrepareNodeAndRegistrationDataFromFlatbuffer()
171 RecordedAllocation allocations = SnapshotAllocationUsage(); in AllocateTfLiteEvalTensors() local
176 RecordAllocationUsage(allocations, recorded_tflite_eval_tensor_data_); in AllocateTfLiteEvalTensors()
190 RecordedAllocation allocations = SnapshotAllocationUsage(); in AllocateVariables() local
195 RecordAllocationUsage(allocations, in AllocateVariables()
[all …]
/external/selinux/libselinux/utils/
Davcstat.c33 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/tensorflow/tensorflow/compiler/xla/service/
Dmemory_space_assignment_best_fit_repacker.cc37 void ImportAllocationBlocks(absl::Span<AllocationBlock*> allocations) { in ImportAllocationBlocks() argument
38 allocation_blocks_ = allocations; in ImportAllocationBlocks()
39 for (AllocationBlock* allocation_block : allocations) { in ImportAllocationBlocks()
81 absl::Span<AllocationBlock*> allocations) { in Repack() argument
84 best_fit_repacker.ImportAllocationBlocks(allocations); in Repack()
/external/mesa3d/src/util/tests/vma/
Dvma_random_test.cpp140 allocations.push_back(a); in alloc()
147 if (allocations.size() == 0) in dealloc()
150 std::uniform_int_distribution<> dist(0, allocations.size() - 1); in dealloc()
153 std::swap(allocations.at(to_dealloc), allocations.back()); in dealloc()
154 allocation a = allocations.back(); in dealloc()
155 allocations.pop_back(); in dealloc()
211 while (allocations.size() != 0) in empty()
221 std::vector<allocation> allocations; member
/external/deqp/external/vulkancts/framework/vulkan/
DvkAllocationCallbackUtil.cpp364 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/
Duobjnew_example.txt9 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/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/
DDefaultAllocator.java115 public synchronized void release(Allocation[] allocations) { in release() argument
116 if (availableCount + allocations.length >= availableAllocations.length) { in release()
118 Math.max(availableAllocations.length * 2, availableCount + allocations.length)); in release()
120 for (Allocation allocation : allocations) { in release()
123 allocatedCount -= allocations.length; in release()
/external/tensorflow/tensorflow/core/framework/
Dtracking_allocator.cc176 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/
Dprofiling_sample_distribution.cc92 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()
119 for (const auto& pair : allocations) { in ProfilingSampleDistributionMain()
/external/angle/third_party/vulkan_memory_allocator/src/
DTests.cpp353 std::vector<Allocation>& allocations) -> VkResult in MainTest()
441 allocations.push_back(allocation); in MainTest()
1252 static void DestroyAllAllocations(std::vector<AllocInfo>& allocations) in DestroyAllAllocations() argument
1254 for(size_t i = allocations.size(); i--; ) in DestroyAllAllocations()
1255 DestroyAllocation(allocations[i]); in DestroyAllAllocations()
1256 allocations.clear(); in DestroyAllAllocations()
1403 std::vector<AllocInfo> allocations; in TestDefragmentationSimple() local
1421 allocations.push_back(allocInfo); in TestDefragmentationSimple()
1424 for(size_t i = 1; i < allocations.size(); ++i) in TestDefragmentationSimple()
1426 DestroyAllocation(allocations[i]); in TestDefragmentationSimple()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dbuffer_allocations.cc37 absl::Span<const BufferAllocation> allocations) { in TearDown() argument
41 const int64 num_buffers = allocations.size(); in TearDown()
43 const BufferAllocation& allocation = allocations[i]; in TearDown()
Dir_emitter_context.h75 absl::Span<const BufferAllocation> allocations() const { in allocations() function
82 void set_allocations(absl::Span<const BufferAllocation> allocations) { in set_allocations() argument
84 allocations_ = allocations; in set_allocations()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/
DStreamAllocation.java247 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/
DStreamAllocation.java245 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/llvm-project/llvm/test/CodeGen/SystemZ/
Dghc-cc-05.ll2 ; Variable-sized stack allocations are not supported in GHC calling convention
16 ; CHECK: LLVM ERROR: Variable-sized stack allocations are not supported in GHC calling convention
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DConnectionPool.java135 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/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DConnectionPool.java141 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()

12345678910>>...17