From a32e13400b3e8130ca3a17abf9bf17af17995dc5 Mon Sep 17 00:00:00 2001 From: heckflosse Date: Sun, 12 Jun 2016 13:32:08 +0200 Subject: [PATCH] Removed stopwatches --- rtengine/dcp.cc | 4 +--- rtengine/improcfun.cc | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/rtengine/dcp.cc b/rtengine/dcp.cc index f02ba8aaa..a597fa8db 100644 --- a/rtengine/dcp.cc +++ b/rtengine/dcp.cc @@ -26,8 +26,6 @@ #include "rawimagesource.h" #include "improcfun.h" #include "rt_math.h" -#define BENCHMARK -#include "StopWatch.h" using namespace rtengine; using namespace rtexif; @@ -989,7 +987,7 @@ void DCPProfile::apply( bool apply_hue_sat_map ) const { - BENCHFUN + const TMatrix work_matrix = iccStore->workingSpaceInverseMatrix(working_space); const Matrix xyz_cam = makeXyzCam(white_balance, pre_mul, cam_wb_matrix, preferred_illuminant); // Camera RGB to XYZ D50 matrix diff --git a/rtengine/improcfun.cc b/rtengine/improcfun.cc index d458bc351..8da4f689a 100644 --- a/rtengine/improcfun.cc +++ b/rtengine/improcfun.cc @@ -40,7 +40,7 @@ #include "improccoordinator.h" #include "clutstore.h" #include "ciecam02.h" -#define BENCHMARK +//#define BENCHMARK #include "StopWatch.h" #include "../rtgui/ppversion.h" #include "../rtgui/guiutils.h"