Cycles: Log OSL texture system statistics after finishing the render

This commit is contained in:
Sergey Sharybin 2015-12-18 21:50:10 +05:00
parent 349affe370
commit 672f2efbe6

@ -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