commit | e70492d0e298487f9cb8dd37cfcf9c4a060cc21c | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sat Mar 26 23:56:33 2005 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sat Mar 26 23:56:33 2005 +0000 |
tree | 77f6e793c17998473e48260db656eea318f1bb0f | |
parent | 1b9a2aac986344caec0f43378dadfdd04c593d46 [diff] |
Factor out percentage printing into its own function. Make two changes to the function: print more precision XX.X% instead of XX%, and cast to ULL before scaling by 100/1000 to avoid wrap around for large numbers of queries (such as occur for 253.perlbmk and 176.gcc) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20872 91177308-0d34-0410-b5e6-96231b3b80d8