Skip to content

Commit

Permalink
Remove timer classes. (#673)
Browse files Browse the repository at this point in the history
# Remove timer classes.

Fixes #614 (partially)

The classes `Timer`and `ScopedTimer` both use static data, and so need
to be refactored as part of issue #614. However, they are currently
unused in the model and additionally need to be made thread-safe and
possibly MPI aware, depending on how the timings should be reported.

This PR entirely removes the classes from the code base.
  • Loading branch information
timspainNERSC authored Sep 3, 2024
2 parents 6eedb7e + 6625cc2 commit 78756b1
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 577 deletions.
1 change: 0 additions & 1 deletion core/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

set(BaseSources
"Logged.cpp"
"Timer.cpp"
"ModelConfig.cpp"
"Model.cpp"
"Iterator.cpp"
Expand Down
31 changes: 0 additions & 31 deletions core/src/ScopedTimer.cpp

This file was deleted.

201 changes: 0 additions & 201 deletions core/src/Timer.cpp

This file was deleted.

49 changes: 0 additions & 49 deletions core/src/include/ScopedTimer.hpp

This file was deleted.

Loading

0 comments on commit 78756b1

Please sign in to comment.