[PATCH] D20579: [esan] Add circular buffer data structure

Derek Bruening via llvm-commits llvm-commits at lists.llvm.org
Tue May 24 10:21:53 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 class, CircularBuffer, for holding a wrap-around fixed-size
sequence of a primitive data type.  This will be used initially by the
working set tool.

Adds a unit test for CircularBuffer, including infrastructure support to
include esan headers and to link with the esan library by pretending to
want the working set tool.

http://reviews.llvm.org/D20579

Files:
  lib/esan/esan_circular_buffer.h
  test/esan/Unit/circular_buffer.cpp
  test/esan/lit.cfg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20579.58264.patch
Type: text/x-patch
Size: 4547 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160524/69015fb6/attachment-0001.bin>


More information about the llvm-commits mailing list