X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=test_src%2Fperformance_test.h;fp=test_src%2Fperformance_test.h;h=bce714be647ec5a6f6b5617ad197f0df901f2681;hb=2deab9197b8d9d74c01156777b250746c36fba07;hp=5283b02e6bc8e95926a994f19cced0b89f3a4faa;hpb=7605b81a4b6f8b2bf7065e9b51116443a1ce64c4;p=avr-crypto-lib.git diff --git a/test_src/performance_test.h b/test_src/performance_test.h index 5283b02..bce714b 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);