X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=test_src%2Fperformance_test.h;h=bce714be647ec5a6f6b5617ad197f0df901f2681;hb=a5cb349f9d72e0d2c82730647b4f142de6b7e485;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..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);