21 #ifndef __ardour_cycle_timer_h__
22 #define __ardour_cycle_timer_h__
30 #include "ardour/debug.h"
48 if (cycles_per_usec == 0) {
62 std::cerr << _name <<
": " << (float) (_exit - _entry) / cycles_per_usec <<
" (" << _entry <<
", " << _exit <<
')' << std::endl;
75 void dump (std::string
const &);
89 #define PT_TIMING_REF ST.ref();
90 #define PT_TIMING_CHECK(x) ST.check(x);
95 #define PT_TIMING_CHECK(x)
static float cycles_per_usec
CycleTimer(const std::string &name)
void dump(std::string const &)
static cycles_t get_cycles(void)
GtkImageIconNameData name
#define DEBUG_ENABLED(bits)