| GCC Middle and Back End API Reference
    | 


| Public Member Functions | |
| vec_usage () | |
| vec_usage (size_t allocated, size_t times, size_t peak, size_t items, size_t items_peak, size_t element_size) | |
| vec_usage | operator+ (const vec_usage &second) | 
| void | dump (mem_location *loc, mem_usage &total) const | 
| void | dump_footer () | 
| void | register_overhead (size_t size) | 
| void | release_overhead (size_t size) | 
| mem_usage | operator+ (const mem_usage &second) | 
| bool | operator== (const mem_usage &second) const | 
| bool | operator< (const mem_usage &second) const | 
| void | dump (mem_location *loc, const mem_usage &total) const | 
| void | dump_footer () const | 
| Static Public Member Functions | |
| static void | dump_header (const char *name) | 
| static int | compare (const void *first, const void *second) | 
| static float | get_percent (size_t nominator, size_t denominator) | 
| static void | print_dash_line (size_t count=140) | 
| Data Fields | |
| size_t | m_items | 
| size_t | m_items_peak | 
| size_t | m_element_size | 
| size_t | m_allocated | 
| size_t | m_times | 
| size_t | m_peak | 
| size_t | m_instances | 
Vector API for GNU compiler. Copyright (C) 2004-2025 Free Software Foundation, Inc. Contributed by Nathan Sidwell <nathan@codesourcery.com> Re-implemented in C++ by Diego Novillo <dnovillo@google.com> This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see <http://www.gnu.org/licenses/>.
This file is compiled twice: once for the generator programs once for the compiler.
Vector memory usage.
| 
 | inline | 
References m_element_size, m_items, and m_items_peak.
Referenced by operator+().
| 
 | inline | 
References m_element_size, m_items, m_items_peak, and mem_usage::mem_usage().
| 
 | inlinestaticinherited | 
| 
 | inlineinherited | 
References free(), get_percent(), m_allocated, mem_location::m_ggc, m_peak, m_times, mem_usage(), PRsa, SIZE_AMOUNT, and mem_location::to_string().
| 
 | inline | 
| 
 | inlineinherited | 
References m_allocated, m_times, PRsa, and SIZE_AMOUNT.
| 
 | inline | 
References mem_usage::m_allocated, m_items, mem_usage::m_times, PRsa, and SIZE_AMOUNT.
| 
 | inlinestatic | 
| 
 | inlinestaticinherited | 
Referenced by bitmap_usage::dump(), ggc_usage::dump(), dump(), and pool_usage::dump().
References m_allocated, m_instances, m_peak, m_times, and mem_usage().
References mem_usage::m_allocated, m_items, m_items_peak, mem_usage::m_peak, mem_usage::m_times, and vec_usage().
References m_allocated, m_peak, m_times, and mem_usage().
References m_allocated, m_peak, m_times, and mem_usage().
| 
 | inlinestaticinherited | 
References count, and fputc().
Referenced by dump_tree_statistics().
| 
 | inlineinherited | 
References m_allocated, m_peak, and m_times.
| 
 | inlineinherited | 
References gcc_assert, and m_allocated.
| 
 | inherited | 
Referenced by bitmap_usage::dump(), dump(), pool_usage::dump(), vec_usage::dump(), dump_footer(), pool_usage::dump_footer(), vec_usage::dump_footer(), ggc_usage::get_balance(), mem_usage(), mem_usage(), bitmap_usage::operator+(), ggc_usage::operator+(), operator+(), pool_usage::operator+(), vec_usage::operator+(), operator<(), operator==(), ggc_usage::register_overhead(), register_overhead(), and release_overhead().
| size_t vec_usage::m_element_size | 
Referenced by dump(), vec_usage(), and vec_usage().
| 
 | inherited | 
Referenced by pool_usage::dump(), pool_usage::dump_footer(), mem_usage(), mem_usage(), operator+(), and pool_usage::operator+().
| size_t vec_usage::m_items | 
Referenced by dump(), dump_footer(), operator+(), vec_usage(), and vec_usage().
| size_t vec_usage::m_items_peak | 
Referenced by dump(), operator+(), vec_usage(), and vec_usage().
| 
 | inherited | 
Referenced by bitmap_usage::dump(), dump(), pool_usage::dump(), vec_usage::dump(), mem_usage(), mem_usage(), bitmap_usage::operator+(), ggc_usage::operator+(), operator+(), pool_usage::operator+(), vec_usage::operator+(), ggc_usage::operator<(), operator<(), ggc_usage::operator==(), operator==(), and register_overhead().
| 
 | inherited | 
Referenced by bitmap_usage::dump(), ggc_usage::dump(), dump(), pool_usage::dump(), vec_usage::dump(), dump_footer(), vec_usage::dump_footer(), mem_usage(), mem_usage(), bitmap_usage::operator+(), ggc_usage::operator+(), operator+(), pool_usage::operator+(), vec_usage::operator+(), ggc_usage::operator<(), operator<(), ggc_usage::operator==(), operator==(), ggc_usage::register_overhead(), and register_overhead().