Timo Juhani Lindfors
2009-Sep-29 11:04 UTC
[LLVMdev] [PATCH] llvm-bcanalyzer: print percentages without scientific notation
Hello, llvm-bcanalyzer told me that the size of the BLOCKINFO_BLOCK of my file is "1.345017e+01" percent of the whole file. This is not very readable. The attached patch prints the percentage without scientific notation so we get something bit more readable: Block ID #0 (BLOCKINFO_BLOCK): Num Instances: 1 Total Size: 637b/79.62B/19W % of file: 13.450169 Num SubBlocks: 0 Num Abbrevs: 0 Num Records: 0 best regards, Timo Lindfors -------------- next part -------------- A non-text attachment was scrubbed... Name: llvm-bcanalyzer-format-percentage1.patch Type: text/x-diff Size: 944 bytes Desc: llvm-bcanalyzer: print percentages without scientific notation URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090929/e2f663db/attachment.patch>
Possibly Parallel Threads
- [LLVMdev] [PATCH] llvm-bcanalyzer: print percentages without scientific notation
- [LLVMdev] [PATCH] llvm-bcanalyzer: print percentages without scientific notation
- [LLVMdev] Enable Detailed Output llvm-bcanalyzer
- scientific notation
- R is converting arg input to scientific notation, which is bad!