Cycles: Add timing information to the SVM compiler stats

This commit is contained in:
Sergey Sharybin
2015-12-29 21:20:10 +05:00
parent aff9fd60bc
commit a6b67ca802
2 changed files with 73 additions and 2 deletions

View File

@@ -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.
*/