From: Philippe E. <ph...@us...> - 2003-11-01 23:32:11
|
Update of /cvsroot/oprofile/oprofile/libpp In directory sc8-pr-cvs1:/tmp/cvs-serv21449/libpp Modified Files: format_output.cpp Log Message: s/format_double/format_percent/ Index: format_output.cpp =================================================================== RCS file: /cvsroot/oprofile/oprofile/libpp/format_output.cpp,v retrieving revision 1.12 retrieving revision 1.13 diff -u -p -d -r1.12 -r1.13 --- format_output.cpp 19 Oct 2003 02:03:45 -0000 1.12 +++ format_output.cpp 1 Nov 2003 23:32:08 -0000 1.13 @@ -386,7 +386,7 @@ string formatter::format_percent(field_d double ratio = op_ratio(f.sample.counts[f.pclass], total_count[f.pclass]); - return format_double(ratio * 100, percent_int_width, + return ::format_percent(ratio * 100, percent_int_width, percent_fract_width); } @@ -398,7 +398,7 @@ string formatter::format_cumulated_perce double ratio = op_ratio(cumulated_percent[f.pclass], total_count[f.pclass]); - return format_double(ratio * 100, percent_int_width, + return ::format_percent(ratio * 100, percent_int_width, percent_fract_width); } @@ -409,7 +409,7 @@ string formatter::format_percent_details double ratio = op_ratio(f.sample.counts[f.pclass], total_count_details[f.pclass]); - return format_double(ratio * 100, percent_int_width, + return ::format_percent(ratio * 100, percent_int_width, percent_fract_width); } @@ -423,7 +423,7 @@ string formatter::format_cumulated_perce double ratio = op_ratio(cumulated_percent_details[f.pclass], total_count_details[f.pclass]); - return format_double(ratio * 100, percent_int_width, + return ::format_percent(ratio * 100, percent_int_width, percent_fract_width); } |