diff options
| author | Derek Bruening <bruening@google.com> | 2016-05-31 13:41:07 +0000 |
|---|---|---|
| committer | Derek Bruening <bruening@google.com> | 2016-05-31 13:41:07 +0000 |
| commit | 8ef3f0fa5b12b0903b4f331ee477efeb5df125d2 (patch) | |
| tree | bc07f947397bf55a8028ef334bd1af2057531339 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | |
| parent | 659afd55fa09a1ce668a2483c23acdaf200cc6b9 (diff) | |
| download | llvm-8ef3f0fa5b12b0903b4f331ee477efeb5df125d2.zip llvm-8ef3f0fa5b12b0903b4f331ee477efeb5df125d2.tar.gz llvm-8ef3f0fa5b12b0903b4f331ee477efeb5df125d2.tar.bz2 | |
[esan|wset] Iterate all memory to compute the total working set
Summary:
Adds iteration of all application memory in an efficient manner using
shadow faults. Shadow memory starts out inaccessible and we mark it
writable one page at a time on each fault when the instrumentation touches
it. This allows iteration over just the mapped shadow memory, saving
significant time.
Adds a process-end iteration and pretty-printing of the final result.
Adds a new test and updates the existing tests.
Reviewers: aizatsky, filcab
Subscribers: vitalybuka, zhaoqin, kcc, eugenis, llvm-commits, kubabrecka
Differential Revision: http://reviews.llvm.org/D20578
llvm-svn: 271277
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions
