X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=test_src%2Fperformance_test.h;h=867ef995af5150866c107835d2fdc1075b96f4b8;hb=2e0998249aeec3ce8509af80cc56fb6a49f3268d;hp=bce714be647ec5a6f6b5617ad197f0df901f2681;hpb=2deab9197b8d9d74c01156777b250746c36fba07;p=avr-crypto-lib.git diff --git a/test_src/performance_test.h b/test_src/performance_test.h index bce714b..867ef99 100644 --- a/test_src/performance_test.h +++ b/test_src/performance_test.h @@ -25,15 +25,15 @@ #include -#define START_TIMER TCCR1B=1 -#define STOP_TIMER TCCR1B=0 +#define START_TIMER TCCR1B=1 +#define STOP_TIMER TCCR1B=0 void calibrateTimer(void); void startTimer(uint8_t granularity); uint64_t stopTimer(void); -void getOverhead(uint16_t* constoh, uint16_t* intoh); +void getOverhead(uint16_t *constoh, uint16_t *intoh); -void print_time_P(PGM_P s, uint64_t t); +void print_time_P(PGM_P s, uint32_t t); void print_overhead(void); #endif /*PERFORMANCE_TEST_H_*/