Searched refs:total_stats (Results 1 – 3 of 3) sorted by relevance
62 malloc_thread_stats_t total_stats = {0}; in get_total_from_test_sizes() local65 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() argument96 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 …]
38 malloc_thread_stats_t total_stats = {0}; in test_main_thread() local50 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() local95 result &= stats_from_mallinfo(&total_stats, &free_heap_space_after_allocations, use_mallinfo2); in test_different_threads()[all …]
84 const CompilationStatistics::BasicStats& total_stats) { in WriteLine() argument89 double percent = stats.delta_.PercentOf(total_stats.delta_); in WriteLine()92 static_cast<double>(total_stats.total_allocated_bytes_); in WriteLine()