X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=test_src%2Fperformance_test.h;h=4b2329e2649d9db5eacf5f689c9f8561a1039d71;hb=33d65e8032f77c1cbec1bc99e898affc96966c3c;hp=5283b02e6bc8e95926a994f19cced0b89f3a4faa;hpb=572b35bb7409fb362441e0812cb62eab9f2411f0;p=avr-crypto-lib.git diff --git a/test_src/performance_test.h b/test_src/performance_test.h index 5283b02..4b2329e 100644 --- a/test_src/performance_test.h +++ b/test_src/performance_test.h @@ -21,6 +21,12 @@ #include #include +#include +#include + + +#define START_TIMER TCCR1B=1 +#define STOP_TIMER TCCR1B=0 void calibrateTimer(void); void startTimer(uint8_t granularity);