Cycles: Add timing information to the SVM compiler stats
This commit is contained in:
@@ -61,6 +61,27 @@ public:
|
||||
/* Peak stack usage during shader evaluation. */
|
||||
int peak_stack_usage;
|
||||
|
||||
/* Time spent on surface graph finalization. */
|
||||
double time_finalize;
|
||||
|
||||
/* Time spent on bump graph finalization. */
|
||||
double time_finalize_bump;
|
||||
|
||||
/* Time spent on generating SVM nodes for surface shader. */
|
||||
double time_generate_surface;
|
||||
|
||||
/* Time spent on generating SVM nodes for bump shader. */
|
||||
double time_generate_bump;
|
||||
|
||||
/* Time spent on generating SVM nodes for volume shader. */
|
||||
double time_generate_volume;
|
||||
|
||||
/* Time spent on generating SVM nodes for displacement shader. */
|
||||
double time_generate_displacement;
|
||||
|
||||
/* Total time spent on all routines. */
|
||||
double time_total;
|
||||
|
||||
/* A full multiline description of the state of the compiler after
|
||||
* compilation.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user