/* performance_test.c */
/*
- 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
}
void calibrateTimer(void){
+ volatile uint8_t i;
startTimer(1);
stopTimer();
const_overhead = TCNT1;
startTimer(1);
TCNT1=0xFFFE;
- ; ; ; ;
-// asm volatile("NOP\n"::); asm volatile("NOP\n"::);
+ i++;
stopTimer();
int_overhead = TCNT1;
}