-/* Helpers */
-#define set_irn_col(co, irn, col) \
- arch_set_irn_register(co->env, irn, 0, arch_register_for_index(co->cls, col))
+/**
+ * Statistics over a copy optimization module.
+ */
+typedef struct {
+ unsigned long long aff_edges; /**< number of affinity edges. */
+ unsigned long long aff_nodes; /**< number of nodes with incident affinity edges. */
+ unsigned long long aff_int; /**< number of affinity edges whose nodes also interfere. */
+ unsigned long long inevit_costs; /**< costs which cannot be evited (due to interfering affinities). */
+ unsigned long long max_costs; /**< all costs of the affinities. */
+ unsigned long long costs; /**< The costs of the current coloring. */
+ unsigned long long unsatisfied_edges; /**< The number of unequally colored affinity edges. */
+} co_complete_stats_t;