[PATCH] D20833: [esan|wset] Add 8-level working set snapshot accumulation

Derek Bruening via llvm-commits llvm-commits at lists.llvm.org
Tue May 31 13:28:50 PDT 2016


bruening created this revision.
bruening added a reviewer: aizatsky.
bruening added subscribers: llvm-commits, eugenis, kcc, zhaoqin, vitalybuka.
Herald added a subscriber: kubabrecka.

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.

http://reviews.llvm.org/D20833

Files:
  lib/esan/esan_circular_buffer.h
  lib/esan/esan_flags.inc
  lib/esan/working_set.cpp
  test/esan/TestCases/workingset-samples.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20833.59127.patch
Type: text/x-patch
Size: 9983 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160531/477ffe62/attachment.bin>


More information about the llvm-commits mailing list