#ifndef COUNTS_H #define COUNTS_H enum { CURRENT, SORTNET, CHECK_SORTED, STEAL_BUF, LAST_OVERLAP, MERGE, DISTRIBUTE, MAX_COUNTS }; extern struct counts { unsigned long compare, swap, rotate; } counts[MAX_COUNTS]; void clear_all_counts(void); void clear_accumulator(void); void add_counts(struct counts*, struct counts*); void print_counts(void); #endif