Blender Git Commit Log

Git Commits -> Revision edd1164

Revision edd1164 by Kévin Dietrich (master)
October 1, 2020, 21:21 (GMT)
Cycles: add time statistics to scene update

Gathers information for time spent in the various managers or object (Film, Camera, etc.) being updated in Scene::device_update.

The stats include the total time spent in the device_update methods as well as time spent in subroutines (e.g. bvh build, displacement, etc.).

This does not qualify as a full blown profiler, but is useful to identify potential bottleneck areas.

The stats can be enabled and printed by passing `--cycles-print-stats` on the command line to Cycles, or `-- --cycles-print-stats` to Blender.

Reviewed By: brecht

Maniphest Tasks: T79174

Differential Revision: https://developer.blender.org/D8596

Commit Details:

Full Hash: edd1164575feefda103c73119a98cbd994e53141
Parent Commit: 342bdbc
Lines Changed: +472, -75

20 Modified Paths:

/intern/cycles/blender/blender_session.cpp (+4, -0) (Diff)
/intern/cycles/render/background.cpp (+8, -0) (Diff)
/intern/cycles/render/bake.cpp (+7, -0) (Diff)
/intern/cycles/render/camera.cpp (+14, -0) (Diff)
/intern/cycles/render/film.cpp (+8, -0) (Diff)
/intern/cycles/render/geometry.cpp (+145, -63) (Diff)
/intern/cycles/render/image.cpp (+6, -0) (Diff)
/intern/cycles/render/integrator.cpp (+8, -0) (Diff)
/intern/cycles/render/light.cpp (+7, -0) (Diff)
/intern/cycles/render/object.cpp (+38, -7) (Diff)
/intern/cycles/render/osl.cpp (+7, -0) (Diff)
/intern/cycles/render/particles.cpp (+7, -0) (Diff)
/intern/cycles/render/scene.cpp (+26, -3) (Diff)
/intern/cycles/render/scene.h (+6, -0) (Diff)
/intern/cycles/render/stats.cpp (+79, -0) (Diff)
/intern/cycles/render/stats.h (+64, -0) (Diff)
/intern/cycles/render/svm.cpp (+7, -0) (Diff)
/intern/cycles/render/tables.cpp (+9, -1) (Diff)
/intern/cycles/render/tables.h (+1, -1) (Diff)
/intern/cycles/util/util_time.h (+21, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021