Home
last modified time | relevance | path

Searched refs:total_stats (Results 1 – 3 of 3) sorted by relevance

/third_party/musl/libc-test/src/functional/
Dtest-malloc-stats-common.h62 malloc_thread_stats_t total_stats = {0}; in get_total_from_test_sizes() local
65 total_stats.total_mmapped_memory += sizes[i]; in get_total_from_test_sizes()
66 total_stats.mmapped_regions++; in get_total_from_test_sizes()
68 total_stats.total_allocated_memory += sizes[i]; in get_total_from_test_sizes()
70 return total_stats; in get_total_from_test_sizes()
91 static int validate_total_allocated(malloc_thread_stats_t *total_stats) in validate_total_allocated() argument
96 total_stats->total_allocated_memory, in validate_total_allocated()
101 total_stats->total_mmapped_memory, in validate_total_allocated()
106 total_stats->mmapped_regions, in validate_total_allocated()
112 static int validate_all_freed(malloc_thread_stats_t *total_stats) in validate_all_freed() argument
[all …]
Dtest-mallinfo.c38 malloc_thread_stats_t total_stats = {0}; in test_main_thread() local
50 result &= stats_from_mallinfo(&total_stats, &free_heap_space_after_allocations, use_mallinfo2); in test_main_thread()
51 result &= validate_total_allocated(&total_stats); in test_main_thread()
56 result &= stats_from_mallinfo(&total_stats, &free_heap_space_after_free, use_mallinfo2); in test_main_thread()
57 total_stats.mmapped_regions -= total_stats_before_test.mmapped_regions; in test_main_thread()
58 total_stats.total_allocated_memory -= total_stats_before_test.total_allocated_memory; in test_main_thread()
59 total_stats.total_mmapped_memory -= total_stats_before_test.total_mmapped_memory; in test_main_thread()
60 result &= validate_all_freed(&total_stats); in test_main_thread()
71 malloc_thread_stats_t total_stats = {0}; in test_different_threads() local
95 result &= stats_from_mallinfo(&total_stats, &free_heap_space_after_allocations, use_mallinfo2); in test_different_threads()
[all …]
/third_party/node/deps/v8/src/diagnostics/
Dcompilation-statistics.cc84 const CompilationStatistics::BasicStats& total_stats) { in WriteLine() argument
89 double percent = stats.delta_.PercentOf(total_stats.delta_); in WriteLine()
92 static_cast<double>(total_stats.total_allocated_bytes_); in WriteLine()