aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2014-07-25 13:47:57 +0000
committerDmitry Vyukov <dvyukov@google.com>2014-07-25 13:47:57 +0000
commitfe17080c88246781cc2c398c6a1e9e8d4419d558 (patch)
tree35758a5cdf8fa1b3f1455d931b51994dc1dfe049 /llvm/lib/Transforms/Utils/InlineFunction.cpp
parentd712403b98c01f12fdec3bb3af6fbf2c99a0735b (diff)
downloadllvm-fe17080c88246781cc2c398c6a1e9e8d4419d558.zip
llvm-fe17080c88246781cc2c398c6a1e9e8d4419d558.tar.gz
llvm-fe17080c88246781cc2c398c6a1e9e8d4419d558.tar.bz2
tsan: fix and make faster GetRSS
It is currently broken because it reads a wrong value from profile (heap instead of total). Also make it faster by reading /proc/self/statm. Reading of /proc/self/smaps can consume more than 50% of time on beefy apps if done every 100ms. llvm-svn: 213942
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions