Carpet/CarpetLib and Carpet/TImers both define a class Timer

Create issue
Issue #1588 new
Roland Haas created an issue

Both thorns define classes called Timer. CarpetLib in timestat.hh and Timers in Timer.hh define a class Timer. This is a bit confusing.

Keyword:

Comments (1)

  1. Erik Schnetter
    • removed comment

    CarpetLib's class should be renamed e.g. to FastTimer. This class uses low-latency timers that can be used to time even short pieces of code where regular Cactus timers are much too slow.

    In the long run, there should be a way to disable the expensive Cactus timers (getrusage and gettimeofday) in some way. Then, CarpetLib's timer class would be obsolete.

  2. Log in to comment