Home
last modified time | relevance | path

Searched refs:allocs (Results 1 – 19 of 19) sorted by relevance

/external/tensorflow/tensorflow/lite/
Dsimple_memory_arena_test.cc27 ArenaAlloc allocs[6]; in TEST() local
29 arena.Allocate(&context, 32, 2047, &allocs[0]); in TEST()
30 arena.Allocate(&context, 32, 2047, &allocs[1]); in TEST()
31 arena.Allocate(&context, 32, 2047, &allocs[2]); in TEST()
32 arena.Deallocate(&context, allocs[0]); in TEST()
33 arena.Allocate(&context, 32, 1023, &allocs[3]); in TEST()
34 arena.Allocate(&context, 32, 2047, &allocs[4]); in TEST()
35 arena.Deallocate(&context, allocs[1]); in TEST()
36 arena.Allocate(&context, 32, 1023, &allocs[5]); in TEST()
38 EXPECT_EQ(allocs[0].offset, 0); in TEST()
[all …]
/external/libcxxabi/test/
Dtest_fallback_malloc.pass.cpp134 const size_t allocs [] = { 124, 60, 252, 60, 4 }; in exhaustion_test3() local
141 ptrs = alloc_series ( allocs, sizeof ( allocs ) / sizeof ( allocs[0] )); in exhaustion_test3()
151 ptrs = alloc_series ( allocs, sizeof ( allocs ) / sizeof ( allocs[0] )); in exhaustion_test3()
159 ptrs = alloc_series ( allocs, sizeof ( allocs ) / sizeof ( allocs[0] )); in exhaustion_test3()
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/
Dsoft_rss_limit_mb_test.cc24 static char *allocs[kMaxNumAllocs]; variable
36 allocs[j] = (char*)malloc(kAllocSize); in main()
37 if (allocs[j]) in main()
38 memset(allocs[j], -1, kAllocSize); in main()
49 free(allocs[j]); in main()
/external/bcc/tools/
Dmemleak_example.txt9 # ./memleak -p $(pidof allocs)
13 main+0x6d [allocs]
18 main+0x6d [allocs]
23 stack, and that weren't freed yet. The number of bytes and number of allocs
26 As time goes on, it becomes apparent that the main function in the allocs
35 # ./memleak -p $(pidof allocs) -a
43 main+0x6d [allocs]
58 main+0x6d [allocs]
128 # ./memleak -p $(pidof allocs) -s 10 5 3
132 main+0x6d [allocs]
[all …]
Dmemleak.py451 allocs = bpf["allocs"]
453 for address, info in sorted(allocs.items(), key=lambda a: a[1].size):
/external/grpc-grpc/test/core/gpr/
Darena_test.cc36 static void test(const char* name, size_t init_size, const size_t* allocs, in test() argument
44 gpr_asprintf(&s, "%" PRIdPTR ",", allocs[i]); in test()
56 ps[i] = gpr_arena_alloc(a, allocs[i]); in test()
64 memset(ps[i], 1, allocs[i]); in test()
/external/tensorflow/tensorflow/core/profiler/internal/
Dtfprof_timeline.cc154 std::map<int64, int64> allocs; in TrackNode() local
156 allocs[alloc.alloc_micros()] += alloc.alloc_bytes(); in TrackNode()
160 allocs[0] += node->node->accelerator_persistent_bytes(); in TrackNode()
164 for (auto it = allocs.begin(); it != allocs.end(); ++it) { in TrackNode()
/external/jemalloc_new/src/
Dandroid_je_mallinfo.c28 size_t allocs = (size_t)(nmalloc - ndalloc); in accumulate_large_allocs() local
29 total_bytes += sz_index2size(NBINS + j) * allocs; in accumulate_large_allocs()
/external/bcc/examples/lua/
Dmemleak.lua144 local allocs = bpf:get_table("allocs")
162 for address, info in allocs:items() do
/external/swiftshader/src/OpenGL/compiler/
DPoolAlloc.cpp130 for (auto& allocs : mStack) { in ~TPoolAllocator()
131 for (auto alloc : allocs) { in ~TPoolAllocator()
/external/bcc/tools/old/
Dmemleak.py248 allocs = bpf_program.get_table("allocs")
249 for address, info in sorted(allocs.items(), key=lambda a: a[1].size):
/external/perfetto/src/profiling/memory/
Dbookkeeping.h291 uint64_t allocs = 0; member
310 callstack_allocations->allocs++; in Allocation()
334 callstack_allocations->allocs--; in ~Allocation()
Dbookkeeping.cc145 if (alloc.allocs == 0 && alloc.allocation_count == allocated) in Dump()
175 if (alloc.allocs == 0) in Dump()
/external/libxml2/
Dxmlreader.c126 int allocs; /* what structure were deallocated */ member
2163 ret->allocs = XML_TEXTREADER_CTXT; in xmlNewTextReader()
2201 ret->allocs |= XML_TEXTREADER_INPUT; in xmlNewTextReaderFilename()
2276 if (reader->allocs & XML_TEXTREADER_CTXT) in xmlFreeTextReader()
2281 if ((reader->input != NULL) && (reader->allocs & XML_TEXTREADER_INPUT)) in xmlFreeTextReader()
2321 if ((reader->input != NULL) && (reader->allocs & XML_TEXTREADER_INPUT)) { in xmlTextReaderClose()
2323 reader->allocs -= XML_TEXTREADER_INPUT; in xmlTextReaderClose()
2530 if (reader->allocs & XML_TEXTREADER_INPUT) { in xmlTextReaderGetRemainder()
2533 reader->allocs -= XML_TEXTREADER_INPUT; in xmlTextReaderGetRemainder()
5143 (reader->allocs & XML_TEXTREADER_INPUT)) { in xmlTextReaderSetup()
[all …]
/external/iproute2/
DREADME.lnstat35 2: allocs
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/SROA/
Ddead-inst.ll1 ; SROA fails to rewrite allocs but does rewrite some phis and delete
/external/swiftshader/third_party/LLVM/test/Transforms/ScalarRepl/
Dphi-select.ll133 ;; Promote allocs that are PHI'd together by moving the loads.
/external/grpc-grpc/tools/profiling/microbenchmarks/bm_diff/
DREADME.md51 `counters` build is used to track other metrics like allocs, atomic adds,
/external/deqp/doc/testspecs/VK/
Dapitests.adoc226 ** Mapping different VkDeviceMemory allocs concurrently?