diff options
author | Ian Hinder <ian.hinder@aei.mpg.de> | 2011-06-02 11:13:41 +0200 |
---|---|---|
committer | Barry Wardell <barry.wardell@gmail.com> | 2011-12-14 18:26:31 +0000 |
commit | 62e741831713b64b733103efd789690c81cbf4e4 (patch) | |
tree | 88f22a4bec7f369a24cce11215359445f6d6ebb2 /Carpet/Carpet/src/make.code.defn | |
parent | a9d7ca03a8cd7fe797167b444c77d85b1e6a3e2d (diff) |
Make Carpet timers hierarchical
This commit modifies the timer infrastructure in Carpet to generate a
tree of timers where the hierarchy reflects the call-graph of the
program. This makes it much easier to interpret the timer output than
with the previous flat structure, where it was not possible to see
which timers "contained" which others. More implementation details
are given at the top of TimerNode.hh.
Note that the Timer source and header files have been renamed as
CactusTimer and a new Timer file and object has been created. This is
because the Timer object now only provides a wrapper around the Cactus
timer mechanism which was contained in the old Timer object.
Diffstat (limited to 'Carpet/Carpet/src/make.code.defn')
-rw-r--r-- | Carpet/Carpet/src/make.code.defn | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Carpet/Carpet/src/make.code.defn b/Carpet/Carpet/src/make.code.defn index c62b631a7..0eca95c1c 100644 --- a/Carpet/Carpet/src/make.code.defn +++ b/Carpet/Carpet/src/make.code.defn @@ -21,6 +21,9 @@ SRCS = CallFunction.cc \ Shutdown.cc \ Storage.cc \ Timers.cc \ + TimerNode.cc \ + CactusTimer.cc \ + TimerSet.cc \ Timing.cc \ UnusedMask.cc \ helpers.cc \ |