From: John L. <mov...@us...> - 2003-05-08 07:41:58
|
Update of /cvsroot/oprofile/oprofile/libpp In directory sc8-pr-cvs1:/tmp/cvs-serv15208/libpp Modified Files: Tag: pp-interface-branch format_output.cpp Log Message: col width fix for accumulated, phil, note the FIXME. I don't understand that code. Index: format_output.cpp =================================================================== RCS file: /cvsroot/oprofile/oprofile/libpp/Attic/format_output.cpp,v retrieving revision 1.1.2.11 retrieving revision 1.1.2.12 diff -u -d -r1.1.2.11 -r1.1.2.12 --- format_output.cpp 28 Apr 2003 17:56:21 -0000 1.1.2.11 +++ format_output.cpp 8 May 2003 07:41:55 -0000 1.1.2.12 @@ -43,14 +43,15 @@ format_map[osf_vma] = field_description(9, "vma", &formatter::format_vma); format_map[osf_nr_samples] = field_description(9, "samples", &formatter::format_nr_samples); - format_map[osf_nr_samples_cumulated] = field_description(9, "cum. samples", &formatter::format_nr_cumulated_samples); + format_map[osf_nr_samples_cumulated] = field_description(14, "cum. samples", &formatter::format_nr_cumulated_samples); format_map[osf_percent] = field_description(12, "%", &formatter::format_percent); - format_map[osf_percent_cumulated] = field_description(10, "cum. %", &formatter::format_cumulated_percent); + format_map[osf_percent_cumulated] = field_description(11, "cum. %", &formatter::format_cumulated_percent); format_map[osf_symb_name] = field_description(24, "symbol name", &formatter::format_symb_name); format_map[osf_linenr_info] = field_description(28, "linenr info", &formatter::format_linenr_info); format_map[osf_image_name] = field_description(24, "image name", &formatter::format_image_name); + // FIXME: duplicated lines ??? format_map[osf_percent] = field_description(12, "%", &formatter::format_percent); - format_map[osf_percent_cumulated] = field_description(10, "cum %", &formatter::format_cumulated_percent); + format_map[osf_percent_cumulated] = field_description(11, "cum. %", &formatter::format_cumulated_percent); format_map[osf_percent_details] = field_description(12, "%", &formatter::format_percent_details); format_map[osf_percent_cumulated_details] =field_description(10, "cum. %", &formatter::format_cumulated_percent_details); format_map[osf_app_name] = field_description(24, "app name", &formatter::format_app_name); |