HomeSort by relevance Sort by last modified time
    Searched defs:allocations (Results 1 - 25 of 169) sorted by null

1 2 3 4 5 6 7

  /external/caliper/caliper/src/main/java/com/google/caliper/worker/
AllAllocationsRecorder.java 36 private final ConcurrentHashMultiset<Allocation> allocations = ConcurrentHashMultiset.create(); field in class:AllAllocationsRecorder
66 allocations.add(
81 allocations.clear();
88 return new AllocationStats(allocations, reps);
AllocationStats.java 34 * A set of statistics about the allocations performed by a benchmark method.
40 private final ImmutableMultiset<Allocation> allocations; field in class:AllocationStats
43 * Constructs a new {@link AllocationStats} with the given number of allocations
44 * ({@code allocationCount}), cumulative size of the allocations ({@code allocationSize}) and the
52 * Constructs a new {@link AllocationStats} with the given allocations and the number of
55 AllocationStats(Collection<Allocation> allocations, int reps) {
56 this(allocations.size(), Allocation.getTotalSize(allocations), reps,
57 ImmutableMultiset.copyOf(allocations));
61 Multiset<Allocation> allocations) {
    [all...]
  /art/test/104-growth-limit/src/
Main.java 24 // Setup reflection stuff before allocating to prevent OOME caused by allocations from
51 int allocations = 0; local
57 allocations++;
63 return allocations;
  /frameworks/av/media/utils/
MemoryLeakTrackUtil.cpp 72 oss << totalMemory << " bytes in " << count << " allocations\n";
82 size_t allocations; member in struct:android::AllocEntry
88 oss << (e->size * e->allocations)
89 << " bytes ( " << e->size << " bytes * " << e->allocations << " allocations )\n";
  /system/chre/util/tests/
memory_pool_test.cc 70 // Construct a memory pool and a vector to maintain a list of all allocations.
73 std::vector<AllocationExpectedValuePair> allocations; local
84 allocations.push_back(allocation);
91 while (!allocations.empty()) {
93 // of allocations remaining.
94 std::uniform_int_distribution<> distribution(0, allocations.size() - 1);
98 EXPECT_EQ(*allocations[deallocateIndex].allocation,
99 allocations[deallocateIndex].expectedValue);
100 memoryPool.deallocate(allocations[deallocateIndex].allocation);
103 allocations.erase(allocations.begin() + deallocateIndex)
    [all...]
  /external/tensorflow/tensorflow/compiler/tf2xla/
xla_jit_compiled_cpu_function.cc 55 const std::vector<xla::BufferAllocation>& allocations = local
56 buffer_assignment.Allocations();
58 temp_sizes.reserve(allocations.size());
59 for (const xla::BufferAllocation& allocation : allocations) {
  /frameworks/base/cmds/statsd/src/guardrail/
MemoryLeakTrackUtil.cpp 71 oss << totalMemory << " bytes in " << count << " allocations\n";
82 size_t allocations; member in struct:android::os::statsd::AllocEntry
88 oss << (e->size * e->allocations) << " bytes ( " << e->size << " bytes * " << e->allocations
89 << " allocations )\n";
  /external/tensorflow/tensorflow/core/framework/
tracking_allocator.cc 176 gtl::InlinedVector<AllocRecord, 4> allocations; local
179 allocations.swap(allocations_);
185 return allocations;
189 gtl::InlinedVector<AllocRecord, 4> allocations; local
193 allocations.push_back(alloc);
196 return allocations;
  /system/bt/osi/src/
allocation_tracker.cc 42 static std::unordered_map<void*, allocation_t*> allocations; variable
69 allocations.clear();
77 allocations.clear();
86 for (const auto& entry : allocations) {
113 auto map_entry = allocations.find(return_ptr);
115 if (map_entry != allocations.end()) {
120 allocations[return_ptr] = allocation;
142 auto map_entry = allocations.find(ptr);
143 CHECK(map_entry != allocations.end());
167 allocations.erase(ptr)
    [all...]
  /external/selinux/libselinux/utils/
avcstat.c 27 #define HEADERS "lookups hits misses allocations reclaims frees"
33 unsigned long long allocations; member in struct:avc_cache_stats
188 &tmp.allocations,
197 tot.allocations += tmp.allocations;
209 tot.allocations, tot.reclaims, tot.frees);
214 rel.allocations = tot.allocations - last.allocations;
219 rel.allocations, rel.reclaims, rel.frees)
    [all...]
  /external/deqp/external/vulkancts/framework/vulkan/
vkAllocationCallbackUtil.cpp 364 std::vector<AllocationSlot> allocations; local
404 ptrToSlotIndex[record.data.allocation.returnedPtr] = allocations.size();
405 allocations.push_back(AllocationSlot(record, true));
410 if (!allocations[slotNdx].isLive)
412 allocations[slotNdx].isLive = true;
413 allocations[slotNdx].record = record;
417 // we should not have multiple live allocations with the same pointer
431 AllocationSlot& origSlot = allocations[origSlotNdx];
449 allocations[origSlotNdx].record = record;
455 allocations[origSlotNdx].isLive = false
    [all...]
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
StreamAllocation.java 245 if (connection.allocations.isEmpty()) {
301 connection.allocations.add(new WeakReference<>(this));
304 /** Remove this allocation from the connection's list of allocations. */
306 for (int i = 0, size = connection.allocations.size(); i < size; i++) {
307 Reference<StreamAllocation> reference = connection.allocations.get(i);
309 connection.allocations.remove(i);
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
ConnectionPoolTest.java 168 assertEquals(Collections.emptyList(), c1.allocations);
  /external/tensorflow/tensorflow/core/profiler/internal/
tfprof_timeline.h 109 std::map<int64, int64> allocations; member in class:tensorflow::tfprof::MemoryTracker::Device
110 // tracked allocations, might miss some bytes.
tfprof_node.h 187 const std::vector<AllocationRecord>& allocations() const { function in class:tensorflow::tfprof::ExecStep
259 for (const auto& r : exec_.allocations()) {
286 // The history of accelerator allocations and deallocations of this step.
649 const std::vector<AllocationRecord>& allocations(int64 step) const { function in class:tensorflow::tfprof::TFGraphNode
654 return exec->second.allocations();
  /external/v8/src/profiler/
sampling-heap-profiler.cc 38 // recorded all allocations, we must approximate the shape of the underlying
39 // space of allocations based on the samples we have collected. Given that
42 // approximate the true number of allocations with size *size* given that
220 std::vector<v8::AllocationProfile::Allocation> allocations; local
221 allocations.reserve(node->allocations_.size());
239 allocations.push_back(ScaleSample(alloc.first, alloc.second));
246 std::vector<v8::AllocationProfile::Node*>(), allocations}));
  /external/webrtc/webrtc/p2p/base/
turnserver.h 175 const AllocationMap& allocations() const { return allocations_; } function in class:cricket::TurnServer
  /external/deqp/external/vulkancts/modules/vulkan/ycbcr/
vktYCbCrUtil.cpp 141 vector<AllocationSp>* allocations)
163 allocations->push_back(AllocationSp(allocation.release()));
172 vector<AllocationSp>* allocations)
174 allocateStagingBuffers(vkd, device, allocator, imageData, buffers, allocations);
178 deMemcpy((*allocations)[planeNdx]->getHostPtr(), imageData.getPlanePtr(planeNdx), imageData.getPlaneSize(planeNdx));
179 flushMappedMemoryRange(vkd, device, (*allocations)[planeNdx]->getMemory(), 0u, VK_WHOLE_SIZE);
186 const vector<AllocationSp>& allocations)
190 invalidateMappedMemoryRange(vkd, device, allocations[planeNdx]->getMemory(), 0u, VK_WHOLE_SIZE);
191 deMemcpy(imageData->getPlanePtr(planeNdx), allocations[planeNdx]->getHostPtr(), imageData->getPlaneSize(planeNdx));
288 vector<AllocationSp> allocations; local
    [all...]
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/io/
RealConnection.java 84 public final List<Reference<StreamAllocation>> allocations = new ArrayList<>(); field in class:RealConnection
  /external/v8/include/
v8-profiler.h 539 * AllocationProfile is a sampled profile of allocations done by the program.
597 * allocations. The lifetime of the children is scoped to the containing
603 * List of self allocations done by this node in the call-graph.
605 std::vector<Allocation> allocations; member in struct:v8::AllocationProfile::Node
751 * allocations and builds an online 'sampling' heap profile. At any point in
760 * Allocations are sampled using a randomized Poisson process. On average, one
766 * newspace allocations. Support for paged space allocation (e.g. pre-tenured
767 * objects, large objects, code objects, etc.) and native allocations
785 * Returns the sampled profile of allocations allocated (and still live) since
  /external/compiler-rt/lib/lsan/
lsan_common.cc 354 LOG_POINTERS("Processing platform-specific allocations.\n");
621 uptr bytes = 0, allocations = 0; local
625 allocations += leaks_[i].hit_count;
629 allocations);
  /external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
vktSparseResourcesBufferTests.cpp 90 std::vector<AllocationSp> allocations; //!< actual allocated memory member in struct:vkt::sparse::__anon17902::SparseAllocation
94 //! Utility to lay out memory allocations for a sparse buffer, including holes and aliased regions.
224 sparseAllocation->allocations.push_back(makeDeSharedPtr(
230 const Allocation& alloc = **sparseAllocation->allocations[memBindIter->allocationNdx];
    [all...]
  /frameworks/base/core/jni/
android_os_Debug.cpp 1037 size_t allocations = *(size_t*) (ptr + sizeof(size_t)); local
    [all...]
  /frameworks/rs/tests/lldb/java/Allocations/src/com/android/rs/allocations/
MainActivity.java 17 package com.android.rs.allocations;
412 // Set float allocations to -1/n
  /prebuilts/devtools/tools/lib/
ddmuilib.jar 

Completed in 907 milliseconds

1 2 3 4 5 6 7