[ET Trac] [Einstein Toolkit] #1149: Add timers for Carpet modes

Einstein Toolkit trac-noreply at einsteintoolkit.org
Thu Oct 25 18:27:44 CDT 2012


#1149: Add timers for Carpet modes
-------------------------+--------------------------------------------------
 Reporter:  hinder       |       Owner:  eschnett
     Type:  enhancement  |      Status:  new     
 Priority:  major        |   Milestone:          
Component:  Carpet       |     Version:          
 Keywords:               |  
-------------------------+--------------------------------------------------
 It is currently not possible to determine from the timer output how much
 time is spent on each refinement level, or in each mode (meta, global,
 level, singlemap, local).

 The branch
 http://git.carpetcode.org/carpet.git/shortlog/refs/heads/ianhinder/modetimers
 adds a timer tree which times the time spent in each mode, on each
 refinement level, and on each map (if desired).  This tree is output to
 standard output after the Evolve timer tree if the Evolve timer tree is
 being output.  Two new parameters are added to control whether to time
 maps and local mode; these default to "no".

 Example output with the default parameters

 {{{
 -----------------------
 Percent   t/secs  Timer
 -----------------------
 100.0%     20.4  meta mode
  99.7%     20.4  |_global mode
  11.9%      2.4  | |_level(0)
   9.4%      1.9  | |_level(1)
  15.6%      3.2  | |_level(2)
  23.1%      4.7  | |_level(3)
  28.6%      5.8  | |_level(4)
  10.8%      2.2  | |_untimed
 }}}

 If the maps and local mode are enabled, the output can look like this:

 {{{
 -----------------------
 Percent   t/secs  Timer
 -----------------------
  100.0%     38.1  meta mode
   94.9%     36.1  |_global mode
   11.9%      4.5  | |_level(0)
    2.0%      0.8  | | |_map(0)
    1.6%      0.6  | | | |_local
    9.8%      3.7  | | |_untimed
    5.0%      1.9  | |_level(1)
    3.4%      1.3  | | |_map(0)
    3.1%      1.2  | | | |_local
    1.6%      0.6  | | |_untimed
    8.1%      3.1  | |_level(2)
    5.0%      1.9  | | |_map(0)
    4.7%      1.8  | | | |_local
    3.0%      1.2  | | |_untimed
   11.0%      4.2  | |_level(3)
    7.0%      2.7  | | |_map(0)
    6.5%      2.5  | | | |_local
    4.0%      1.5  | | |_untimed
   15.5%      5.9  | |_level(4)
   10.8%      4.1  | | |_map(0)
   10.3%      3.9  | | | |_local
    4.6%      1.7  | | |_untimed
   43.3%     16.5  | |_untimed
    5.1%      2.0  | untimed
 }}}

 OK to merge?

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1149>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list