X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=test_src%2Fperformance_test.h;h=bce714be647ec5a6f6b5617ad197f0df901f2681;hb=83398013d7fefe3600b771be65317a330a140ffb;hp=d8b15655ee1a1882a77f76e738163845e72e97d6;hpb=2159c273c9d3361571a6ff1ab63d9bc76582fbab;p=avr-crypto-lib.git diff --git a/test_src/performance_test.h b/test_src/performance_test.h index d8b1565..bce714b 100644 --- a/test_src/performance_test.h +++ b/test_src/performance_test.h @@ -1,6 +1,6 @@ /* performance_test.h */ /* - This file is part of the Crypto-avr-lib/microcrypt-lib. + This file is part of the AVR-Crypto-Lib. Copyright (C) 2008 Daniel Otte (daniel.otte@rub.de) This program is free software: you can redistribute it and/or modify @@ -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);