summaryrefslogtreecommitdiff
path: root/counts.h
blob: 46e2e1861376cb22877f12f508318b77fcaea624 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#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