#1588: Carpet/CarpetLib and Carpet/TImers both define a class Timer ----------------------+----------------------------------------------------- Reporter: rhaas | Owner: eschnett Type: defect | Status: new Priority: optional | Milestone: Component: Carpet | Version: development version Keywords: | ----------------------+----------------------------------------------------- Both thorns define classes called Timer. CarpetLib in timestat.hh and Timers in Timer.hh define a class Timer. This is a bit confusing.
#1588: Carpet/CarpetLib and Carpet/TImers both define a class Timer -----------------------+---------------------------------------------------- Reporter: rhaas | Owner: eschnett Type: defect | Status: new Priority: optional | Milestone: Component: Carpet | Version: development version Resolution: | Keywords: -----------------------+----------------------------------------------------
Comment (by eschnett):
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.
trac@lists.einsteintoolkit.org