Make bin/includebloat.awk script output prettier
So instead of: sum total bytes included (excluding system headers): 21793372177 1197253280 132910 9008 /home/gabor/src/core/include/rtl/ustring.hxx 825845085 90207 9155 /home/gabor/src/core/include/rtl/ustring.h We can see something nicer: Sum total bytes included (excluding system headers): 21.795.559.123 Total bytes Size Occurrences Filename 1.197.253.280 132.910 9.008 /home/gabor/src/core/include/rtl/ustring.hxx 825.845.085 90.207 9.155 /home/gabor/src/core/include/rtl/ustring.h Change-Id: Iabcaadae964221ed532e7e7e97b10211e37d4857 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150613 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
This commit is contained in:
parent
bff4282e1c
commit
b355c9b79e
1 changed files with 4 additions and 2 deletions
|
@ -42,9 +42,11 @@ END {
|
|||
close(cmd)
|
||||
}
|
||||
PROCINFO["sorted_in"] = "@val_num_desc"
|
||||
print "sum total bytes included (excluding system headers): " totalsize
|
||||
printf "Sum total bytes included (excluding system headers): %'d\n", totalsize
|
||||
print "Total bytes\tSize\t Occurrences\tFilename"
|
||||
OFS="\t"
|
||||
for (inc in totals) {
|
||||
print totals[inc], sizes[inc], includes[inc], inc
|
||||
printf "%'13d\t%'7d\t%'8d\t%s\n", totals[inc], sizes[inc], includes[inc], inc
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue