diff options
author | wlei <wlei@fb.com> | 2021-10-27 00:25:50 -0700 |
---|---|---|
committer | wlei <wlei@fb.com> | 2021-10-29 10:36:57 -0700 |
commit | f5537643b88be7443917a7c7dc0602a97ff7438d (patch) | |
tree | 0fc37accd5cbd47e9aa20da0ccae51b9ddf30143 /llvm/lib/Support/Path.cpp | |
parent | 8314a04ede9ba1ddc03bfec24bf6431ff9a8c609 (diff) | |
download | llvm-f5537643b88be7443917a7c7dc0602a97ff7438d.zip llvm-f5537643b88be7443917a7c7dc0602a97ff7438d.tar.gz llvm-f5537643b88be7443917a7c7dc0602a97ff7438d.tar.bz2 |
[llvm-profgen] Update total samples by accumulating all its body samples
Like probe-based profile, the total samples is the sum of all its body samples. This patch fix it by a post-processing update for the line-number based profile. Tested it on our internal services, results showed no performance change.
Reviewed By: hoy, wenlei
Differential Revision: https://reviews.llvm.org/D112672
Diffstat (limited to 'llvm/lib/Support/Path.cpp')
0 files changed, 0 insertions, 0 deletions