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.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated on 6 Dec 2017 for OpenStructure by  doxygen 1.6.1