Subversion Repositories Code-Repo

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
141 Kevin 1
/* Routines for using cycle counter */
2
 
3
/* Start the counter */
4
void start_counter();
5
 
6
/* Get # cycles since counter started */
7
double get_counter();
8
 
9
/* Measure overhead for counter */
10
double ovhd();
11
 
12
/* Determine clock rate of processor (using a default sleeptime) */
13
double mhz(int verbose);
14
 
15
/* Determine clock rate of processor, having more control over accuracy */
16
double mhz_full(int verbose, int sleeptime);
17
 
18
/** Special counters that compensate for timer interrupt overhead */
19
 
20
void start_comp_counter();
21
 
22
double get_comp_counter();