[PATCH] D36847: [Support] Add reentrant start/stop Timer methods

Brian Gesiak via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 22 08:40:49 PDT 2017


modocache updated this revision to Diff 112182.
modocache retitled this revision from "[Support] Add "reference-counted" Timer" to "[Support] Add reentrant start/stop Timer methods".
modocache edited the summary of this revision.
modocache added a comment.

Instead of using virtual methods, add `Timer::startReentrantTimer` and `Timer::stopReentrantTimer`. @MatzeB, let me know if this isn't what you had in mind -- thanks!


https://reviews.llvm.org/D36847

Files:
  include/llvm/Support/Timer.h
  lib/Support/Timer.cpp
  unittests/Support/TimerTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36847.112182.patch
Type: text/x-patch
Size: 3748 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170822/cbe54cc6/attachment.bin>


More information about the llvm-commits mailing list