 
     for( int i=0; i<num_layers; i++ ) {
         bool success;
-#ifndef NDEBUG
+#ifdef SHOW_TIMING
         time_gauss[i]->start();
         _frame[i]->applyGauss( params ); // async
         time_gauss[i]->stop();

#include "debug_image.h"
#include "cctag/talk.hpp"

using namespace std;

namespace popart

    t.stop();
    t.report( "Time for all frames " );

#ifdef SHOW_TIMING
    for( int i=0; i<num_layers; i++ ) {
        DO_TALK(
          time_gauss[i]->report( "time for Gauss " );
