Blender Git Loki

Git Commits -> Revision 4568762

Revision 4568762 by William Leeson (master)
November 12, 2021, 09:16 (GMT)
Fix T92601: Disable profiling when the profiler is deemed not active.

Adds a method to profiler that can be used to check if it is active.
This is used to determine if stop_profiling and start_profiling
should be called.

| patch | Juans Scene UI 256 samples | Juans Scene bg 256 samples | junkshop UI | junkshop bg |
| No patch | 6:16.59 | 4:05.37 | 2:08.48 | 1:59.7 |
| D13187 | 4:12.15 | 3:57.36 | 2:07.25 | 1:58.16 |
| D13185 | 4.11.18 |3:54.74 | 2:07.44 | 1:58.03 |
| D13190 | 4:12.39 | 3:55.42 | 2:07.62 | 1:58.68 |

UI - means rendered from within Blender
bg - means rendered from the command line using ##blender -b scene.blend -f 1##

Reviewed By: sergey, brecht

Maniphest Tasks: T92601

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

Commit Details:

Full Hash: 456876208b16710318a4576b9b7554abc4fa1125
Parent Commit: 1061f5a
Lines Changed: +15, -5

3 Modified Paths:

/intern/cycles/integrator/path_trace_work_cpu.cpp (+8, -5) (Diff)
/intern/cycles/util/profiling.cpp (+5, -0) (Diff)
/intern/cycles/util/profiling.h (+2, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021