TRIQS/triqs_modest 3.3.0
Brillouin zone summation
|
#include <triqs_modest/utils/scoped_timer.hpp>
A utility class for measuring the execution time of a scope.
The scoped_timer
class starts a timer upon construction and stops it upon destruction, printing the elapsed time to the standard output. It is useful for profiling and measuring the performance of specific code blocks.
Example usage:
Definition at line 30 of file scoped_timer.hpp.
Public Member Functions | |
scoped_timer () | |
~scoped_timer () | |
|
inline |
Definition at line 34 of file scoped_timer.hpp.
|
inline |
Definition at line 36 of file scoped_timer.hpp.