]> git.cryptolib.org Git - avr-crypto-lib.git/blob - performance_test.h
a32e7566b9d64470f97df3223e280508d7f7366a
[avr-crypto-lib.git] / performance_test.h
1 #ifndef PERFORMANCE_TEST_H_
2 #define PERFORMANCE_TEST_H_
3
4 #include <stdint.h>
5 #include <avr/pgmspace.h>
6
7 void calibrateTimer(void);
8 void startTimer(uint8_t granularity);
9 uint64_t stopTimer(void);
10 void getOverhead(uint16_t* constoh, uint16_t* intoh);
11
12 void print_time_P(PGM_P s, uint64_t t);
13 void print_overhead(void);
14
15 #endif /*PERFORMANCE_TEST_H_*/