Commit: 8fab53c023ef3ddad1c3b1125eb9b932c95cd05f Author: Jacques Lucke Date: Sat Dec 24 14:00:46 2022 +0100 Branches: master https://developer.blender.org/rB8fab53c023ef3ddad1c3b1125eb9b932c95cd05f
BLI: add last time to scoped averaged time =================================================================== M source/blender/blenlib/intern/timeit.cc =================================================================== diff --git a/source/blender/blenlib/intern/timeit.cc b/source/blender/blenlib/intern/timeit.cc index 7a8cf8da038..7d4b1118b2b 100644 --- a/source/blender/blenlib/intern/timeit.cc +++ b/source/blender/blenlib/intern/timeit.cc @@ -42,6 +42,8 @@ ScopedTimerAveraged::~ScopedTimerAveraged() print_duration(total_time_ / total_count_); std::cout << ", Min: "; print_duration(min_time_); + std::cout << ", Last: "; + print_duration(duration); std::cout << ")\n"; } _______________________________________________ Bf-blender-cvs mailing list [email protected] List details, subscription details or unsubscribe: https://lists.blender.org/mailman/listinfo/bf-blender-cvs
