r264360 - in /trunk/gcc: ChangeLog doc/gcov.tex...

marxin@gcc.gnu.org marxin@gcc.gnu.org
Mon Sep 17 08:49:00 GMT 2018


Author: marxin
Date: Mon Sep 17 08:49:09 2018
New Revision: 264360

URL: https://gcc.gnu.org/viewcvs?rev=264360&root=gcc&view=rev
Log:
gcov: emit hotness colors to easily find hot code.

2018-09-17  Martin Liska  <mliska@suse.cz>

	* doc/gcov.texi: Document new option --use-hotness-colors.
	* gcov.c (struct source_info): Declare new field.
	(source_info::source_info): Set default for maximum_count.
	(print_usage): Add new -q option.
	(process_args): Process it.
	(accumulate_line_info): Save src->maximum_count.
	(output_line_beginning): Make color line number if
	flag_use_hotness_colors is set.
	(output_line_details): Pass default argument value.
	(output_lines): Pass src->maximum_count.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/doc/gcov.texi
    trunk/gcc/gcov.c



More information about the Gcc-cvs mailing list