HomeSort by relevance Sort by last modified time
    Searched full:heap_growth (Results 1 - 1 of 1) sorted by null

  /external/compiler-rt/lib/asan/tests/
asan_interface_test.cc 93 size_t old_heap_size, new_heap_size, heap_growth; local
100 heap_growth = new_heap_size - old_heap_size;
101 fprintf(stderr, "heap growth after first malloc: %zu\n", heap_growth);
102 ASSERT_GE(heap_growth, kLargeMallocSize);
103 ASSERT_LE(heap_growth, 2 * kLargeMallocSize);
109 heap_growth = __asan_get_heap_size() - old_heap_size;
110 fprintf(stderr, "heap growth after second malloc: %zu\n", heap_growth);
111 ASSERT_LT(heap_growth, kLargeMallocSize);

Completed in 415 milliseconds