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

Brian Gesiak via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 23 08:09:25 PDT 2017


modocache updated this revision to Diff 112371.
modocache added a comment.

Replace `Running` member with `StartCount`.

> Looking at https://reviews.llvm.org/D36946 I'm not convinced yet that timer is a good idea there at all.

Oh! Could you explain why you feel this way?


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.112371.patch
Type: text/x-patch
Size: 4888 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170823/4b7d3739/attachment-0001.bin>


More information about the llvm-commits mailing list