[PATCH] D15619: [Support] Make llvm::Timer reusable

Vedant Kumar via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 21 14:12:18 PST 2015


vsk removed a reviewer: chapuni.
vsk updated this revision to Diff 43400.
vsk added a comment.

- Make clear() reset the timer, instead of just the total time field.
- Fix up the unit test.


http://reviews.llvm.org/D15619

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15619.43400.patch
Type: text/x-patch
Size: 4838 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151221/9134389a/attachment.bin>


More information about the llvm-commits mailing list