added timer convenience macro
authorChristian Würdig <chriswue@ipd.info.uni-karlsruhe.de>
Fri, 23 Jun 2006 10:34:13 +0000 (10:34 +0000)
committerChristian Würdig <chriswue@ipd.info.uni-karlsruhe.de>
Fri, 23 Jun 2006 10:34:13 +0000 (10:34 +0000)
ir/be/be.h

index ae25aa9..4f9cc5a 100644 (file)
@@ -8,6 +8,8 @@
 #include "lower_dw.h"
 #include "dbginfo.h"
 
+#define LC_STOP_AND_RESET_TIMER(timer) lc_timer_stop(timer); lc_timer_reset(timer)
+
 /**
  * This structure contains parameters that should be
  * propagated to the libFirm parameter set.