#ifndef COUNTS_H #define COUNTS_H enum { CURRENT, SORTNET, LAST_OVERLAP, MERGE, MOVE_BUFFER, 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