[Bf-blender-cvs] [8fab53c023e] master: BLI: add last time to scoped averaged time
Jacques Lucke
noreply at git.blender.org
Sat Dec 24 14:01:17 CET 2022
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";
}
More information about the Bf-blender-cvs
mailing list