stage/include/ost/img/debug.hh File Reference

#include <iostream>
#include <ctime>

Go to the source code of this file.

Defines

#define DEBUG_TIMER_START   clock_t debug_timer_start = clock();
#define DEBUG_TIMER_END


Define Documentation

#define DEBUG_TIMER_END

Value:

clock_t debug_timer_end = clock(); \
    std::cerr << "DEBUG TIME: " << 1.0e6*static_cast<Real>(debug_timer_end-debug_timer_start)/CLOCKS_PER_SEC << " us (" << (debug_timer_end-debug_timer_start) << " ticks)" << std::endl;

Definition at line 32 of file debug.hh.

#define DEBUG_TIMER_START   clock_t debug_timer_start = clock();

Definition at line 31 of file debug.hh.


Generated on Fri Jul 2 14:23:05 2010 for OpenStructure by  doxygen 1.5.8