 #include "debug_image.h"
 #include "cctag/talk.hpp"
 
+#if 1 // #ifndef NDEBUG
+#define SHOW_TIMING
+#else
+#undef  SHOW_TIMING
+#endif
+
 using namespace std;
 
 namespace popart

{
    int num_layers = _frame.size();

#ifndef NDEBUG
    KeepTime* time_gauss[num_layers];
    KeepTime* time_mag  [num_layers];
    KeepTime* time_hyst [num_layers];


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