#ifndef _BESTAT_H_
#define _BESTAT_H_
+#include "firm_config.h"
#include "be_t.h"
+#include "benodesets.h"
+
+#ifdef FIRM_STATISTICS
/**
* Collects statistics information about register pressure.
*/
void be_do_stat_reg_pressure(be_irg_t *birg);
-#endif /* _BESTAT_H_ */
\ No newline at end of file
+/**
+ * Collect statistics about amount of ready nodes per block
+ * @param block The block
+ * @param ready_set A set of ready nodes
+ */
+void be_do_stat_sched_ready(ir_node *block, nodeset *ready_set);
+
+#else
+
+#define be_do_stat_reg_pressure(birg)
+#define be_do_stat_sched_ready(block, ready_set)
+
+#endif /* FIRM_STATISTICS */
+
+#endif /* _BESTAT_H_ */