Blender Git Commit Log

Git Commits -> Revision e5e7507

Revision e5e7507 by Bastien Montagne (master)
January 27, 2016, 11:26 (GMT)
PIL_time_utiledefines: add TIMEIT_AVERAGED variants to block timing macros.

This variant behave exactly as TIMEIT_START etc., but it also sums up all times in
a static var and prints out average execution time - very useful when dealing
with small/quick pieces of code that get executed often, to get some meaningful results.

Commit Details:

Full Hash: e5e7507d31e8ae817231c4189fe0602ebce4003f
Parent Commit: 7e9103b
Lines Changed: +32, -7

2 Modified Paths:

/source/blender/blenlib/PIL_time_utildefines.h (+30, -5) (Diff)
/source/blender/editors/sculpt_paint/paint_stroke.c (+2, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021