nextsimhub / nextsimdg

neXtSIM_DG : next generation sea-ice model with DG
https://nextsim-dg.readthedocs.io/en/latest/?badge=latest
Apache License 2.0
10 stars 13 forks source link

Issue 614: Remove timer classes. #673

Closed timspainNERSC closed 2 months ago

timspainNERSC commented 2 months ago

Remove timer classes.

Fixes #614 (partially)

The classes Timerand 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.