change TimerGroup to keep a linked list of active timers
authorChris Lattner <sabre@nondot.org>
Tue, 30 Mar 2010 04:40:01 +0000 (04:40 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 30 Mar 2010 04:40:01 +0000 (04:40 +0000)
commitb9312690a2a79de490ab9c439b9b5d7c9319bff8
tree786bc99022444c296f0d471272a0dd2fae05d6ef
parenta782e75d487006cafffdc256b3c623307fee4dcf
change TimerGroup to keep a linked list of active timers
instead of just a count of them, and refactor the guts of
report printing out of removeTimer into its own method.
Refactor addTimerToPrint away.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99872 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/Timer.h
lib/Support/Timer.cpp