Blender Git Commit Log
Git Commits -> Revision 6eec49e
Revision 6eec49e by Sergey Sharybin (master) November 5, 2012, 08:04 (GMT) |
Cycles: memory usage report This commit adds memory usage information while rendering. It reports memory used by device, meaning: - For CPU it'll report real memory consumption - For GPU rendering it'll report GPU memory consumption, but it'll also mean the same memory is used from host side. This information displays information about memory requested by Cycles, not memory really allocated on a device. Real memory usage might be higher because of memory fragmentation or optimistic memory allocator. There's really nothing we can do against this. Also in contrast with blender internal's render cycles memory usage does not include memory used by scene, only memory needed by cycles itself will be displayed. So don't freak out if memory usage reported by cycles would be much lower than blender internal's. This commit also adds RenderEngine.update_memory_stats callback which is used to tell memory consumption from external engine to blender. This information is used to generate information line after rendering is finished. |
Commit Details:
Full Hash: 6eec49ed20fb3a8032718d5f4b9a3e774098df3f
SVN Revision: 51886
Parent Commit: d71004e
Lines Changed: +151, -37
1 Added Path:
/intern/cycles/util/util_stats.h (+53, -0) (View)
18 Modified Paths:
/intern/cycles/blender/blender_session.cpp (+6, -1) (Diff)
/intern/cycles/device/device.cpp (+6, -6) (Diff)
/intern/cycles/device/device.h (+6, -2) (Diff)
/intern/cycles/device/device_cpu.cpp (+11, -3) (Diff)
/intern/cycles/device/device_cuda.cpp (+16, -4) (Diff)
/intern/cycles/device/device_intern.h (+5, -5) (Diff)
/intern/cycles/device/device_multi.cpp (+5, -5) (Diff)
/intern/cycles/device/device_network.cpp (+4, -4) (Diff)
/intern/cycles/device/device_opencl.cpp (+8, -3) (Diff)
/intern/cycles/render/buffers.cpp (+1, -1) (Diff)
/intern/cycles/render/session.cpp (+3, -2) (Diff)
/intern/cycles/render/session.h (+2, -0) (Diff)
/intern/cycles/util/util_thread.h (+3, -0) (Diff)
/source/blender/editors/render/render_internal.c (+5, -1) (Diff)
/source/blender/makesrna/intern/rna_render.c (+5, -0) (Diff)
/source/blender/render/extern/include/RE_engine.h (+1, -0) (Diff)
/source/blender/render/extern/include/RE_pipeline.h (+1, -0) (Diff)
/source/blender/render/intern/source/external_engine.c (+10, -0) (Diff)
/intern/cycles/device/device.cpp (+6, -6) (Diff)
/intern/cycles/device/device.h (+6, -2) (Diff)
/intern/cycles/device/device_cpu.cpp (+11, -3) (Diff)
/intern/cycles/device/device_cuda.cpp (+16, -4) (Diff)
/intern/cycles/device/device_intern.h (+5, -5) (Diff)
/intern/cycles/device/device_multi.cpp (+5, -5) (Diff)
/intern/cycles/device/device_network.cpp (+4, -4) (Diff)
/intern/cycles/device/device_opencl.cpp (+8, -3) (Diff)
/intern/cycles/render/buffers.cpp (+1, -1) (Diff)
/intern/cycles/render/session.cpp (+3, -2) (Diff)
/intern/cycles/render/session.h (+2, -0) (Diff)
/intern/cycles/util/util_thread.h (+3, -0) (Diff)
/source/blender/editors/render/render_internal.c (+5, -1) (Diff)
/source/blender/makesrna/intern/rna_render.c (+5, -0) (Diff)
/source/blender/render/extern/include/RE_engine.h (+1, -0) (Diff)
/source/blender/render/extern/include/RE_pipeline.h (+1, -0) (Diff)
/source/blender/render/intern/source/external_engine.c (+10, -0) (Diff)