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-2024 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 |
Referenced by operator+().
|
inline |
|
inlinestaticinherited |
|
inlineinherited |
|
inline |
|
inlineinherited |
References mem_usage::m_allocated, mem_usage::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(), mem_usage::dump(), and pool_usage::dump().
References mem_usage::m_allocated, m_items, m_items_peak, mem_usage::m_peak, mem_usage::m_times, and vec_usage().
References mem_usage::m_allocated, mem_usage::m_peak, and mem_usage::m_times.
References mem_usage::m_allocated, mem_usage::m_peak, and mem_usage::m_times.
|
inlinestaticinherited |
References count, and fputc().
Referenced by dump_tree_statistics().
|
inlineinherited |
References mem_usage::m_allocated, mem_usage::m_peak, and mem_usage::m_times.
|
inlineinherited |
References gcc_assert, and mem_usage::m_allocated.
|
inherited |
Referenced by bitmap_usage::dump(), mem_usage::dump(), pool_usage::dump(), dump(), mem_usage::dump_footer(), pool_usage::dump_footer(), dump_footer(), ggc_usage::get_balance(), bitmap_usage::operator+(), ggc_usage::operator+(), mem_usage::operator+(), pool_usage::operator+(), operator+(), mem_usage::operator<(), mem_usage::operator==(), ggc_usage::register_overhead(), mem_usage::register_overhead(), and mem_usage::release_overhead().
size_t vec_usage::m_element_size |
Referenced by dump(), and vec_prefix::register_overhead().
|
inherited |
Referenced by pool_usage::dump(), pool_usage::dump_footer(), mem_usage::operator+(), and pool_usage::operator+().
size_t vec_usage::m_items |
Referenced by dump(), dump_footer(), operator+(), and vec_prefix::release_overhead().
size_t vec_usage::m_items_peak |
Referenced by dump(), and operator+().
|
inherited |
Referenced by bitmap_usage::dump(), mem_usage::dump(), pool_usage::dump(), dump(), bitmap_usage::operator+(), ggc_usage::operator+(), mem_usage::operator+(), pool_usage::operator+(), operator+(), ggc_usage::operator<(), mem_usage::operator<(), ggc_usage::operator==(), mem_usage::operator==(), and mem_usage::register_overhead().
|
inherited |
Referenced by bitmap_usage::dump(), ggc_usage::dump(), mem_usage::dump(), pool_usage::dump(), dump(), mem_usage::dump_footer(), dump_footer(), bitmap_usage::operator+(), ggc_usage::operator+(), mem_usage::operator+(), pool_usage::operator+(), operator+(), ggc_usage::operator<(), mem_usage::operator<(), ggc_usage::operator==(), mem_usage::operator==(), ggc_usage::register_overhead(), and mem_usage::register_overhead().