Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2015-12-18 19:50:10 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-12-18 19:50:30 +0300
commit672f2efbe68ff6e75b0994358fa0269fc7105f43 (patch)
treef0438c4844aa51a6f1535105a83fcde5b29b2fc8 /intern
parent349affe3707b5b383cc6652bdaba1679a692a101 (diff)
Cycles: Log OSL texture system statistics after finishing the render
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/kernel/osl/osl_services.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/cycles/kernel/osl/osl_services.cpp b/intern/cycles/kernel/osl/osl_services.cpp
index db53f2dc499..9ac8a3eec82 100644
--- a/intern/cycles/kernel/osl/osl_services.cpp
+++ b/intern/cycles/kernel/osl/osl_services.cpp
@@ -35,6 +35,7 @@
#include "osl_shader.h"
#include "util_foreach.h"
+#include "util_logging.h"
#include "util_string.h"
#include "kernel_compat_cpu.h"
@@ -124,6 +125,8 @@ OSLRenderServices::OSLRenderServices()
OSLRenderServices::~OSLRenderServices()
{
+ VLOG(2) << "OSL texture system stats:\n"
+ << osl_ts->getstats();
#ifdef WITH_PTEX
ptex_cache->release();
#endif