Procedural and volume intersection times are now listed separately, instead of being included with the parent BVH. Profiling has also been added in other areas, in particular multithreaded code where helper threads were not being accounted for. This should result in higher quality statistics.
For example:
00:00:19 3452MB | -----------------------------------------------------------------------------------
00:00:19 3452MB | top session self-times by category
00:00:19 3452MB | volume shader (aiVolumeShader1) 0:09.02 (48.37%)
00:00:19 3452MB | volume::intersect 0:03.16 (16.99%)
00:00:19 3452MB | ShaderGlobalsShadeVolumetrics 0:02.14 (11.49%)
00:00:19 3452MB | LoadVolumeData 0:00.68 ( 3.67%)
00:00:19 3452MB | BVH::intersect (root) 0:00.67 ( 3.60%)
00:00:19 3452MB | ShaderGlobalsShadeVolumetricsShadow 0:00.64 ( 3.46%)
00:00:19 3452MB | AiMsgDebug 0:00.64 ( 3.44%)
00:00:19 3452MB | -----------------------------------------------------------------------------------
00:00:19 3452MB | top session self-times by node
00:00:19 3452MB | standard_volume:aiVolumeShader1 0:09.34 (50.11%)
00:00:19 3452MB | volume shader 0:09.02 (48.37%)
00:00:19 3452MB | AiShaderEvalParamFuncFlt 0:00.29 ( 1.56%)
00:00:19 3452MB | list_aggregate:root 0:03.84 (20.59%)
00:00:19 3452MB | volume::intersect 0:03.16 (16.99%)
00:00:19 3452MB | BVH::intersect 0:00.67 ( 3.60%)
00:00:19 3452MB | ShaderGlobalsShadeVolumetrics 0:02.14 (11.49%)
00:00:19 3452MB | skydome_light:/aiSkyDomeLight1/aiSkyDomeLightShape1 0:01.21 ( 6.51%)
00:00:19 3452MB | ShaderGlobalsShadeVolumetricsShadow 0:00.64 ( 3.46%)
00:00:19 3452MB | LightSampling 0:00.29 ( 1.59%)
00:00:19 3452MB | TraceShadow 0:00.17 ( 0.96%)
00:00:19 3452MB | TraceCameraRay 0:00.22 ( 1.22%)
00:00:19 3452MB | sampleNextBatch 0:00.21 ( 1.15%)
00:00:19 3452MB | -----------------------------------------------------------------------------------7.2.5
13 December 2023