|
Blender V5.0
|
Go to the source code of this file.
Classes | |
| class | blender::timeit::ScopedTimer |
| class | blender::timeit::ScopedTimerAveraged |
Namespaces | |
| namespace | blender |
| namespace | blender::timeit |
Macros | |
| #define | SCOPED_TIMER(name) |
| #define | SCOPED_TIMER_AVERAGED(name) |
| #define | SCOPED_TIMER_ROLLING_AVERAGED(name, window_size) |
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 | ) |
Definition at line 70 of file BLI_timeit.hh.
Referenced by BMD_mesh_bm_create(), BMD_mesh_intersection(), blender::geometry::create_merged_mesh(), int4_ghash_tests(), int4_map_tests(), int_ghash_tests(), int_map_tests(), blender::draw::mesh_buffer_cache_create_requested(), modify_mesh(), multi_small_ghash_tests(), randint_ghash_tests(), randint_map_tests(), STL_export(), STL_import(), str_ghash_tests(), and str_map_tests().
| #define SCOPED_TIMER_AVERAGED | ( | name | ) |
Print the average and minimum runtime of the timer's scope.
Definition at line 76 of file BLI_timeit.hh.
Referenced by blender::bke::pbvh::build_mesh_leaf_nodes(), blender::ed::sculpt_paint::undo::PositionUndoStorage::compress_fn(), blender::bke::pbvh::Tree::from_grids(), blender::bke::pbvh::Tree::from_mesh(), and blender::ed::sculpt_paint::undo::restore_position_mesh().
| #define SCOPED_TIMER_ROLLING_AVERAGED | ( | name, | |
| window_size ) |
Print the rolling average and minimum runtime of the timer's scope.
Definition at line 87 of file BLI_timeit.hh.