aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/FileOutputBuffer.cpp
diff options
context:
space:
mode:
authorDerek Bruening <bruening@google.com>2016-06-03 16:27:50 +0000
committerDerek Bruening <bruening@google.com>2016-06-03 16:27:50 +0000
commite78e4a6e943c35ee5b449b5e0571084d6e84b91a (patch)
treeda09f72db7d75a3a2d43057ecb890e468a1204f1 /llvm/lib/Support/FileOutputBuffer.cpp
parent07814769a8f151175c95645f229c4a955ba40def (diff)
downloadllvm-e78e4a6e943c35ee5b449b5e0571084d6e84b91a.zip
llvm-e78e4a6e943c35ee5b449b5e0571084d6e84b91a.tar.gz
llvm-e78e4a6e943c35ee5b449b5e0571084d6e84b91a.tar.bz2
[esan|wset] Add 8-level working set snapshot accumulation
Summary: Adds a new option -snapshot_step controlling the frequency distribution for an 8-level series of samples using each bit of each shadow byte. Implements accumulation from each level to the next higher level at the specified frequency. Adds storage of the 8 series of samples using CircularBuffer instances. Fixes an error in the circular buffer data structure where a static object's destructor will be called too early. Prints the results out at the end in a simple manner to give us something to start with. Updates the workingset-samples test to test the new feature. Reviewers: aizatsky Subscribers: vitalybuka, zhaoqin, kcc, eugenis, llvm-commits, kubabrecka Differential Revision: http://reviews.llvm.org/D20833 llvm-svn: 271683
Diffstat (limited to 'llvm/lib/Support/FileOutputBuffer.cpp')
0 files changed, 0 insertions, 0 deletions