Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
934b9a7f
Commit
934b9a7f
authored
Apr 10, 2006
by
Christian Würdig
Browse files
fixed be_sched_ready statistics
parent
519a8883
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/bestat.c
View file @
934b9a7f
...
...
@@ -10,6 +10,9 @@
#include "belive_t.h"
#include "besched.h"
#undef MIN
#define MIN(a, b) (a < b ? a : b)
/**
* Collect reg pressure statistics per block and per class.
*/
...
...
@@ -49,5 +52,5 @@ void be_do_stat_reg_pressure(be_irg_t *birg) {
* Notify statistic module about amount of ready nodes.
*/
void
be_do_stat_sched_ready
(
ir_node
*
block
,
nodeset
*
ready_set
)
{
hook_be_block_sched_ready
(
block
,
get_irn_irg
(
block
),
nodeset_count
(
ready_set
));
hook_be_block_sched_ready
(
block
,
get_irn_irg
(
block
),
MIN
(
nodeset_count
(
ready_set
)
,
5
)
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment