X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=test_src%2Fperformance_test.h;h=4b2329e2649d9db5eacf5f689c9f8561a1039d71;hb=45d15fcc098c9eece5c39b5e421a1706f187a0d3;hp=6c0d13cc55df6c033a736945acc36409ab5ccd35;hpb=17332291e15183d71d88ed868275e3cb53917180;p=avr-crypto-lib.git diff --git a/test_src/performance_test.h b/test_src/performance_test.h index 6c0d13c..4b2329e 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 This file is part of the AVR-Crypto-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);