Class ScopedTimeTrack
Defined in File time_keeper.hpp
Class Documentation
-
class ScopedTimeTrack
Class for automatically tracking the processing time of a function within a scope.
Public Functions
-
ScopedTimeTrack(const std::string &func_name, TimeKeeper &time_keeper)
Construct a new ScopedTimeTrack object.
- Parameters:
func_name – Name of the function to be tracked
time_keeper – Reference to the TimeKeeper object
-
ScopedTimeTrack(const ScopedTimeTrack&) = delete
-
ScopedTimeTrack &operator=(const ScopedTimeTrack&) = delete
-
ScopedTimeTrack(ScopedTimeTrack&&) = delete
-
ScopedTimeTrack &operator=(ScopedTimeTrack&&) = delete
-
~ScopedTimeTrack()
Destroy the ScopedTimeTrack object, ending the tracking of the function.
-
ScopedTimeTrack(const std::string &func_name, TimeKeeper &time_keeper)