/art/test/154-gc-loop/ |
info.txt | 1 Test that GC doesn't happen too often for a few small allocations.
|
/external/valgrind/massif/tests/ |
null.c | 1 // This test does no allocations, to make sure that case is handled ok (eg.
|
zero.c | 1 // Test zero-size allocations -- shouldn't cause division by zero, that kind
|
ignoring.c | 19 // Now we do lots of allocations below the peak. With the proper 20 // handling, the allocations should still be smoothly distributed.
|
big-alloc.c | 3 // Do some big allocations. At one point, the threshold calculation was
|
/frameworks/compile/slang/tests/F_foreach_unexpected_allocs/ |
stderr.txt.expect | 1 foreach_unexpected_allocs.rs:10:3: error: Number of input and output allocations unexpected for kernel function foo 2 foreach_unexpected_allocs.rs:11:3: error: Number of input and output allocations unexpected for kernel function foo
|
/external/caliper/caliper/src/main/java/com/google/caliper/worker/ |
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...] |
/frameworks/rs/tests/lldb/cpp/Allocations/ |
Android.mk | 7 Allocations.cpp \
|
/system/chre/util/tests/ |
memory_pool_test.cc | 64 // Construct a memory pool and a vector to maintain a list of all allocations. 67 std::vector<AllocationExpectedValuePair> allocations; local 78 allocations.push_back(allocation); 85 while (!allocations.empty()) { 87 // of allocations remaining. 88 std::uniform_int_distribution<> distribution(0, allocations.size() - 1); 92 ASSERT_EQ(*allocations[deallocateIndex].allocation, 93 allocations[deallocateIndex].expectedValue); 94 memoryPool.deallocate(allocations[deallocateIndex].allocation); 97 allocations.erase(allocations.begin() + deallocateIndex) [all...] |
/art/test/098-ddmc/src/ |
Main.java | 32 Allocations empty = new Allocations(DdmVmInternal.getRecentAllocations()); 40 System.out.println("Capture some allocations (note just this causes allocations)"); 41 Allocations before = new Allocations(DdmVmInternal.getRecentAllocations()); 54 Allocations after = new Allocations(DdmVmInternal.getRecentAllocations()); 62 Allocations reset = new Allocations(DdmVmInternal.getRecentAllocations()) [all...] |
/external/deqp/modules/gles2/stress/ |
es2sMemoryTests.cpp | 62 basicGroup->addChild(new MemoryStressCase(m_context.getTestContext(), m_context.getRenderContext(), MEMOBJECTTYPE_BUFFER, 0, 0, 1*MiB, 1*MiB, false, false, false, false, "buffer_1mb_no_write_no_use", "1MiB buffer allocations, no data writes, no use")); 63 basicGroup->addChild(new MemoryStressCase(m_context.getTestContext(), m_context.getRenderContext(), MEMOBJECTTYPE_BUFFER, 0, 0, 1*MiB, 1*MiB, true, false, false, false, "buffer_1mb_write_no_use", "1MiB buffer allocations, data writes, no use")); 64 basicGroup->addChild(new MemoryStressCase(m_context.getTestContext(), m_context.getRenderContext(), MEMOBJECTTYPE_BUFFER, 0, 0, 1*MiB, 1*MiB, false, true, false, false, "buffer_1mb_no_write_use", "1MiB buffer allocations, no data writes, data used")); 65 basicGroup->addChild(new MemoryStressCase(m_context.getTestContext(), m_context.getRenderContext(), MEMOBJECTTYPE_BUFFER, 0, 0, 1*MiB, 1*MiB, true, true, false, false, "buffer_1mb_write_use", "1MiB buffer allocations, data writes, data used")); 67 basicGroup->addChild(new MemoryStressCase(m_context.getTestContext(), m_context.getRenderContext(), MEMOBJECTTYPE_BUFFER, 0, 0, 8*MiB, 8*MiB, false, false, false, false, "buffer_8mb_no_write_no_use", "8MiB buffer allocations, no data writes, no use")); 68 basicGroup->addChild(new MemoryStressCase(m_context.getTestContext(), m_context.getRenderContext(), MEMOBJECTTYPE_BUFFER, 0, 0, 8*MiB, 8*MiB, true, false, false, false, "buffer_8mb_write_no_use", "8MiB buffer allocations, data writes, no use")); 69 basicGroup->addChild(new MemoryStressCase(m_context.getTestContext(), m_context.getRenderContext(), MEMOBJECTTYPE_BUFFER, 0, 0, 8*MiB, 8*MiB, false, true, false, false, "buffer_8mb_no_write_use", "8MiB buffer allocations, no data writes, data used")); 70 basicGroup->addChild(new MemoryStressCase(m_context.getTestContext(), m_context.getRenderContext(), MEMOBJECTTYPE_BUFFER, 0, 0, 8*MiB, 8*MiB, true, true, false, false, "buffer_8mb_write_use", "8MiB buffer allocations, data writes, data used")); 72 basicGroup->addChild(new MemoryStressCase(m_context.getTestContext(), m_context.getRenderContext(), MEMOBJECTTYPE_BUFFER, 0, 0, 32*MiB, 32*MiB, false, false, false, false, "buffer_32mb_no_write_no_use", "32MiB buffer allocations, no data writes, no use")); 73 basicGroup->addChild(new MemoryStressCase(m_context.getTestContext(), m_context.getRenderContext(), MEMOBJECTTYPE_BUFFER, 0, 0, 32*MiB, 32*MiB, true, false, false, false, "buffer_32mb_write_no_use", "32MiB buffer allocations, data writes, no use")) [all...] |
/external/deqp/modules/gles3/stress/ |
es3sMemoryTests.cpp | 64 basicGroup->addChild(new MemoryStressCase(m_context.getTestContext(), m_context.getRenderContext(), MEMOBJECTTYPE_BUFFER, 0, 0, 1*MiB, 1*MiB, false, false, false, false, "buffer_1mb_no_write_no_use", "1MiB buffer allocations, no data writes, no use")); 65 basicGroup->addChild(new MemoryStressCase(m_context.getTestContext(), m_context.getRenderContext(), MEMOBJECTTYPE_BUFFER, 0, 0, 1*MiB, 1*MiB, true, false, false, false, "buffer_1mb_write_no_use", "1MiB buffer allocations, data writes, no use")); 66 basicGroup->addChild(new MemoryStressCase(m_context.getTestContext(), m_context.getRenderContext(), MEMOBJECTTYPE_BUFFER, 0, 0, 1*MiB, 1*MiB, false, true, false, false, "buffer_1mb_no_write_use", "1MiB buffer allocations, no data writes, data used")); 67 basicGroup->addChild(new MemoryStressCase(m_context.getTestContext(), m_context.getRenderContext(), MEMOBJECTTYPE_BUFFER, 0, 0, 1*MiB, 1*MiB, true, true, false, false, "buffer_1mb_write_use", "1MiB buffer allocations, data writes, data used")); 69 basicGroup->addChild(new MemoryStressCase(m_context.getTestContext(), m_context.getRenderContext(), MEMOBJECTTYPE_BUFFER, 0, 0, 8*MiB, 8*MiB, false, false, false, false, "buffer_8mb_no_write_no_use", "8MiB buffer allocations, no data writes, no use")); 70 basicGroup->addChild(new MemoryStressCase(m_context.getTestContext(), m_context.getRenderContext(), MEMOBJECTTYPE_BUFFER, 0, 0, 8*MiB, 8*MiB, true, false, false, false, "buffer_8mb_write_no_use", "8MiB buffer allocations, data writes, no use")); 71 basicGroup->addChild(new MemoryStressCase(m_context.getTestContext(), m_context.getRenderContext(), MEMOBJECTTYPE_BUFFER, 0, 0, 8*MiB, 8*MiB, false, true, false, false, "buffer_8mb_no_write_use", "8MiB buffer allocations, no data writes, data used")); 72 basicGroup->addChild(new MemoryStressCase(m_context.getTestContext(), m_context.getRenderContext(), MEMOBJECTTYPE_BUFFER, 0, 0, 8*MiB, 8*MiB, true, true, false, false, "buffer_8mb_write_use", "8MiB buffer allocations, data writes, data used")); 74 basicGroup->addChild(new MemoryStressCase(m_context.getTestContext(), m_context.getRenderContext(), MEMOBJECTTYPE_BUFFER, 0, 0, 32*MiB, 32*MiB, false, false, false, false, "buffer_32mb_no_write_no_use", "32MiB buffer allocations, no data writes, no use")); 75 basicGroup->addChild(new MemoryStressCase(m_context.getTestContext(), m_context.getRenderContext(), MEMOBJECTTYPE_BUFFER, 0, 0, 32*MiB, 32*MiB, true, false, false, false, "buffer_32mb_write_no_use", "32MiB buffer allocations, data writes, no use")) [all...] |
/art/test/098-ddmc/ |
expected.txt | 2 empty=Allocations[message header len: 15 entry header len: 9 stack frame len: 8 number of entries: 0 offset to string table from start of message: 15 number of class name strings: 0 number of method name strings: 0 number of source file name strings: 0] 6 Capture some allocations (note just this causes allocations) 14 reset=Allocations[message header len: 15 entry header len: 9 stack frame len: 8 number of entries: 0 offset to string table from start of message: 15 number of class name strings: 0 number of method name strings: 0 number of source file name strings: 0] 18 Confirm we can reenable twice in a row without losing allocations 23 goodbye=Allocations[message header len: 15 entry header len: 9 stack frame len: 8 number of entries: 0 offset to string table from start of message: 15 number of class name strings: 0 number of method name strings: 0 number of source file name strings: 0]
|
/external/libmojo/mojo/public/cpp/bindings/lib/ |
buffer.h | 13 // Buffer provides a way to allocate memory. Allocations are 8-byte aligned and 14 // zero-initialized. Allocations remain valid for the lifetime of the Buffer.
|
/frameworks/rs/tests/lldb/java/Allocations/ |
AndroidManifest.xml | 3 package="com.android.rs.allocations"> 5 <application android:label="Allocations"
|
Android.mk | 10 LOCAL_PACKAGE_NAME := Allocations
|
/external/llvm/lib/Fuzzer/test/ |
fuzzer-oom-with-profile.test | 4 CHECK: Live Heap Allocations
|
/external/valgrind/none/tests/ |
filter_cmdline1 | 3 sed -e 's/\(set minimum alignment of heap allocations\) \[[0-9]*\]/\1 [...]/' \
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
print_memory_profile_test.cc | 24 // CHECK: Live Heap Allocations: {{.*}}; showing top 100% 27 // CHECK: Live Heap Allocations: {{.*}}; showing top 50%
|
/frameworks/av/media/libmedia/include/media/ |
MemoryLeakTrackUtil.h | 24 * (allocation size * number of allocations). 26 * limit is the number of unique allocations to return.
|
/external/mesa3d/src/gallium/drivers/nouveau/ |
nouveau_mm.h | 7 /* Since a resource can be migrated, we need to decouple allocations from
|
/prebuilts/go/darwin-x86/src/testing/ |
allocs.go | 11 // AllocsPerRun returns the average number of allocations during calls to f. 14 // To compute the number of allocations, the function will first be run once as 15 // a warm-up. The average number of allocations over the specified number of
|
/prebuilts/go/linux-x86/src/testing/ |
allocs.go | 11 // AllocsPerRun returns the average number of allocations during calls to f. 14 // To compute the number of allocations, the function will first be run once as 15 // a warm-up. The average number of allocations over the specified number of
|
/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";
|
/bionic/libc/malloc_debug/ |
README_marshmallow_and_earlier.md | 45 When enabled, this value creates a special header to all allocations 51 This option will slow down allocations by an order of magnitude, and 54 ### Track Live Allocations 55 All of the currently live allocations will be tracked and can be retrieved 58 Note: If multiple allocations have the same exact backtrace, then only one 64 the content of allocations. 72 When enabled, this value creates a special header to all allocations 88 a list of freed allocations. In addition to being added to the list, the 93 When the list of freed allocations reaches 100, the oldest allocation 99 When the program completes, all of the allocations that are still liv [all...] |