Opened 5 years ago

Last modified 5 years ago

#1588 new defect

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

Reported by: Roland Haas Owned by: Erik Schnetter
Priority: optional Milestone:
Component: Carpet Version: development version
Keywords: Cc:


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

Attachments (0)

Change History (1)

comment:1 Changed 5 years ago by Erik Schnetter

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.

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain Erik Schnetter.
Next status will be 'review'.
as The resolution will be set.
to The owner will be changed from Erik Schnetter to the specified user.
Next status will be 'confirmed'.
The owner will be changed from Erik Schnetter to anonymous.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.