]> git.ipfire.org Git - thirdparty/gcc.git/commit
Improve memory statistics report readability.
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 26 Feb 2019 17:27:52 +0000 (17:27 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 26 Feb 2019 17:27:52 +0000 (17:27 +0000)
commitd7cc3e1cbb97e39efe602c3c9f0ba40151948ad3
tree4418776fc5d2c76154a2e422ee0e2dbd0379bf37
parentecf00ca9d47bf6418305e4426acc1ad0c0083edd
Improve memory statistics report readability.

2019-02-26  Martin Liska  <mliska@suse.cz>

* alloc-pool.h (struct pool_usage): Remove extra
print_dash_line.
* bitmap.h (struct bitmap_usage): Likewise.
* ggc-common.c (struct ggc_usage): Likewise.
* mem-stats.h (struct mem_usage): Likewise.
(mem_alloc_description::dump): Print dash lines
here and repeat header at the end of a table report.
It's then more readable.
* tree-phinodes.c (phinodes_print_statistics): Make
horizontal alignment.
* tree-ssanames.c (ssanames_print_statistics): Likewise.
* vec.c (struct vec_usage): Remove extra print_dash_line.
* vec.h (vec_safe_grow_cleared): Pass PASS_MEM_STAT.
2019-02-26  Martin Liska  <mliska@suse.cz>

* symtab.c (ht_dump_statistics): Make
horizontal alignment for statistics.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@269221 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/alloc-pool.h
gcc/bitmap.h
gcc/ggc-common.c
gcc/mem-stats.h
gcc/tree-phinodes.c
gcc/tree-ssanames.c
gcc/vec.c
gcc/vec.h
libcpp/ChangeLog
libcpp/symtab.c