project-asgard / asgard

MIT License
27 stars 20 forks source link

No cost timer #644

Closed mkstoyanov closed 1 year ago

mkstoyanov commented 1 year ago

This relates to #521

Switching many of the calls to timer start/stop with raii style of structs (start is called by the constructor and stop is called by the destructor). The CMake option (comes later) will replace the struct with a no-opt one.