Blender
V3.3
|
Go to the source code of this file.
Classes | |
class | blender::timeit::ScopedTimer |
class | blender::timeit::ScopedTimerAveraged |
Namespaces | |
blender | |
blender::timeit | |
Macros | |
#define | SCOPED_TIMER(name) blender::timeit::ScopedTimer scoped_timer(name) |
#define | SCOPED_TIMER_AVERAGED(name) |
Typedefs | |
using | blender::timeit::Clock = std::chrono::steady_clock |
using | blender::timeit::TimePoint = Clock::time_point |
using | blender::timeit::Nanoseconds = std::chrono::nanoseconds |
Functions | |
void | blender::timeit::print_duration (Nanoseconds duration) |
#define SCOPED_TIMER | ( | name | ) | blender::timeit::ScopedTimer scoped_timer(name) |
Definition at line 68 of file BLI_timeit.hh.
#define SCOPED_TIMER_AVERAGED | ( | name | ) |
Print the average and minimum runtime of the timer's scope.
Definition at line 74 of file BLI_timeit.hh.