Home
last modified time | relevance | path

Searched defs:heap_id (Results 1 – 25 of 82) sorted by relevance

1234

/aosp_15_r20/external/perfetto/src/profiling/memory/
H A Dwrap_allocators.cc35 void* wrap_malloc(uint32_t heap_id, void* (*fn)(size_t), size_t size) { in wrap_malloc()
42 void* wrap_calloc(uint32_t heap_id, in wrap_calloc()
52 void* wrap_memalign(uint32_t heap_id, in wrap_memalign()
62 int wrap_posix_memalign(uint32_t heap_id, in wrap_posix_memalign()
79 void wrap_free(uint32_t heap_id, void (*fn)(void*), void* pointer) { in wrap_free()
98 void* wrap_realloc(uint32_t heap_id, in wrap_realloc()
110 void* wrap_pvalloc(uint32_t heap_id, void* (*fn)(size_t), size_t size) { in wrap_pvalloc()
117 void* wrap_valloc(uint32_t heap_id, void* (*fn)(size_t), size_t size) { in wrap_valloc()
124 void* wrap_reallocarray(uint32_t heap_id, in wrap_reallocarray()
H A Dclient_api_benchmark.cc28 static uint32_t heap_id = in GetHeapId() local
72 const uint32_t heap_id = GetHeapId(); in BM_ClientApiOneTenthAllocation() local
93 const uint32_t heap_id = GetHeapId(); in BM_ClientApiOneHundrethAllocation() local
114 const uint32_t heap_id = GetHeapId(); in BM_ClientApiAlmostNoAllocation() local
135 const uint32_t heap_id = GetHeapId(); in BM_ClientApiSample() local
156 const uint32_t heap_id = GetHeapId(); in BM_ClientApiDisabledHeapAllocation() local
177 const uint32_t heap_id = GetHeapId(); in BM_ClientApiDisabledHeapFree() local
198 const uint32_t heap_id = GetHeapId(); in BM_ClientApiEnabledHeapFree() local
H A Dclient_api.cc197 uint64_t MaybeToggleHeap(uint32_t heap_id, in MaybeToggleHeap()
350 auto heap_id = static_cast<uint32_t>(info - &g_heaps[0]); in AHeapProfile_registerHeap() local
378 AHeapProfile_reportAllocation(uint32_t heap_id, uint64_t id, uint64_t size) { in AHeapProfile_reportAllocation()
430 AHeapProfile_reportSample(uint32_t heap_id, uint64_t id, uint64_t size) { in AHeapProfile_reportSample()
462 uint32_t heap_id, in AHeapProfile_reportFree()
H A Dclient_api_unittest.cc75 uint32_t heap_id = AHeapProfile_registerHeap(AHeapInfo_create("NoClient")); in TEST() local
80 uint32_t heap_id = in TEST() local
104 uint32_t heap_id = in TEST() local
H A Dheapprofd_standalone_client_example.cc23 void OtherFn(uint32_t heap_id, uint64_t i) { in OtherFn()
30 uint32_t heap_id = AHeapProfile_registerHeap(AHeapInfo_create("test")); in main() local
H A Dclient.cc399 bool Client::RecordMalloc(uint32_t heap_id, in RecordMalloc()
491 bool Client::RecordFree(uint32_t heap_id, const uint64_t alloc_address) { in RecordFree()
518 bool Client::RecordHeapInfo(uint32_t heap_id, in RecordHeapInfo()
H A Dheapprofd_end_to_end_test.cc187 static uint32_t heap_id = AHeapProfile_registerHeap(AHeapInfo_create("test")); in CustomAllocateAndFree() local
193 static uint32_t heap_id = in SecondaryAllocAndFree() local
307 static uint32_t heap_id = in RunAccurateMalloc() local
342 static uint32_t heap_id = in RunAccurateMallocWithVforkCommon() local
388 static uint32_t heap_id = in RunAccurateSample() local
498 static uint32_t heap_id = in RunCustomLifetime() local
/aosp_15_r20/external/igt-gpu-tools/tests/
H A Dion_fb.c37 const int heap_id = ion_get_heap_id(ion_fd, ION_HEAP_TYPE_SYSTEM); in make_fb_with_fds() local
77 const int heap_id = ion_get_heap_id(ion_fd, ION_HEAP_TYPE_SYSTEM); in clone_with_fds() local
123 const int heap_id = ion_get_heap_id(ion_fd, ION_HEAP_TYPE_SYSTEM); in mmap_with_buffer() local
/aosp_15_r20/art/test/913-heaps/
H A Dheaps.cc995 jint heap_id; in Java_art_Test913_getObjectHeapId() local
1002 JNIEnv* env, [[maybe_unused]] jclass klass , jint heap_id) { in Java_art_Test913_getHeapName()
1015 JNIEnv* env, [[maybe_unused]] jclass klass , jlong tag, jint heap_id) { in Java_art_Test913_checkGetObjectHeapIdInCallback()
1109 jint heap_id) { in HeapIterationExtCallback()
/aosp_15_r20/system/memory/libdmabufheap/tests/
Ddmabuf_heap_bench.c62 int ion_heap_alloc(int ionfd, int heap_id, size_t len, unsigned int flags, int* dmabuf_fd) { in ion_heap_alloc()
120 int heap_id; in ion_heap_bench() local
/aosp_15_r20/external/perfetto/protos/perfetto/trace/profiling/
H A Dprofile_packet.proto222 repeated uint32 heap_id = 5; field
231 repeated uint32 heap_id = 2; field
/aosp_15_r20/system/memory/libdmabufheap/
DBufferAllocator.cpp130 int BufferAllocator::GetIonHeapIdByName(const std::string& heap_name, unsigned int* heap_id) { in GetIonHeapIdByName()
197 unsigned int heap_id; in GetIonConfig() local
/aosp_15_r20/art/runtime/javaheapprof/
H A Djavaheapsampler.h45 void SetHeapID(uint32_t heap_id) { in SetHeapID()
/aosp_15_r20/hardware/google/graphics/common/libion/test/
Dion_allocate_api_test.cpp86 unsigned int heap_id = getModernHeapId(i); in TEST_F() local
/aosp_15_r20/prebuilts/vndk/v31/arm/include/system/memory/libion/kernel-headers/linux/
Dion_4.12.h35 __u32 heap_id; member
/aosp_15_r20/prebuilts/vndk/v34/arm/include/system/memory/libion/kernel-headers/linux/
Dion_4.12.h35 __u32 heap_id; member
/aosp_15_r20/device/linaro/hikey/gralloc/
Dion_4.12.h63 __u32 heap_id; member
/aosp_15_r20/prebuilts/vndk/v33/arm/include/system/memory/libion/kernel-headers/linux/
Dion_4.12.h35 __u32 heap_id; member
/aosp_15_r20/prebuilts/vndk/v34/x86/include/system/memory/libion/kernel-headers/linux/
Dion_4.12.h35 __u32 heap_id; member
/aosp_15_r20/prebuilts/vndk/v32/arm/include/system/memory/libion/kernel-headers/linux/
Dion_4.12.h35 __u32 heap_id; member
/aosp_15_r20/prebuilts/vndk/v32/arm64/include/system/memory/libion/kernel-headers/linux/
Dion_4.12.h35 __u32 heap_id; member
/aosp_15_r20/device/linaro/hikey/gralloc960/
Dion_4.12.h63 __u32 heap_id; member
/aosp_15_r20/prebuilts/vndk/v31/x86/include/system/memory/libion/kernel-headers/linux/
Dion_4.12.h35 __u32 heap_id; member
/aosp_15_r20/prebuilts/vndk/v33/x86_64/include/system/memory/libion/kernel-headers/linux/
Dion_4.12.h35 __u32 heap_id; member
/aosp_15_r20/system/memory/libion/original-kernel-headers/linux/
Dion_4.12.h63 __u32 heap_id; member

1234